Re: Rounding problem
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 21980
interpreted = N
texte = >When you use [format] to round the numbers, you are only rounding what is>being displayed. The variables are being set inside the math context, and>then their values are being rounded for display. If you want to round the>variables themselves, you'd have to do the rounding within the [math]>context:>>[math]x2=[format .2f][math]6.13*0.21[/math][/format][/math]>>-DaveThanks Dave, my calculation seems working right now.helene abarguia
Associated Messages, from the most recent to the oldest:
>When you use
[format] to round the numbers, you are only rounding what is>being displayed. The variables are being set inside the math context, and>then their values are being rounded for display. If you want to round the>variables themselves, you'd have to do the rounding within the
[math]>context:>>
[math]x2=[format .2f]
[math]6.13*0.21[/math][/format][/math]>>-DaveThanks Dave, my calculation seems working right now.helene abarguia
helene
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
[WebDNA] WebDNA AJAX_Fileuploader (2013)
WebCat2b13 Command Reference Doc error (1997)
quantity minimum problem (1997)
Merging databases (1997)
Weird Math and SV (1997)
Sort Order on a page search (1997)
CMSBuilder (2004)
WebCat2b13MacPlugIn - syntax to convert date (1997)
refreshing IE with posted .tmpl (1997)
Signal Raised error (1997)
[WebDNA] WebDNA Roll Call (2013)
Show shoppingcart after remove last item (1997)
[append] and SSL (1997)
WebCat, The Trend, & Consolidating... (1997)
Cookie Problems (2000)
Re:Using WebMerchant Only? (1998)
Re1000001: Setting up shop (1997)
Lost Password? (2002)
Size/Color Options (2002)
Desperatly seeking (2000)