Re: syntax question, not in online refernce
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 10521
interpreted = N
texte = >>>Trying to format a number 1579 no floating point.>>>>>>[format thousands 7?][countertotal][/format], where ? is what goes here!>>>>[format thousands .0f][countertotal][/format] ought to do it. It looks>>weird, but basically you're telling it you want 0 places after the decimal>>point.>>What about [format thousands 7d][countertotal][/format], wouldn't that do>it too? I thought f was for floating point and d was for decimal integer?what that gives you if a number where 1579.12587=countertotal[format thousands 7d][countertotal][/format] = output 1579It strips it down to a full integer, but does not make it 1,579. Tried that :)will give Grants suggeted [format thousands 0.f[countertotal][/format a golater today. If it works, then issues dead (no post) if it doesn't then :)===============================================Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.com===============================================------------------------------------To leave this talk list send an email to macjordomo@smithmicro.comwith BODYunsubscribe WebDNA-Talk------------------------------------
Associated Messages, from the most recent to the oldest:
>>>Trying to format a number 1579 no floating point.>>>>>>[format thousands 7?][countertotal][/format], where ? is what goes here!>>>>[format thousands .0f][countertotal][/format] ought to do it. It looks>>weird, but basically you're telling it you want 0 places after the decimal>>point.>>What about [format thousands 7d][countertotal][/format], wouldn't that do>it too? I thought f was for floating point and d was for decimal integer?what that gives you if a number where 1579.12587=countertotal[format thousands 7d][countertotal][/format] = output 1579It strips it down to a full integer, but does not make it 1,579. Tried that :)will give Grants suggeted [format thousands 0.f[countertotal][/format a golater today. If it works, then issues dead (no post) if it doesn't then :)===============================================Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.com===============================================------------------------------------To leave this
Talk List send an email to macjordomo@smithmicro.comwith BODYunsubscribe WebDNA-Talk------------------------------------
grichter@panavise.com (Gary Richter)
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:
SQL (2003)
Interfacing WebMerchant to www.fedex.com (1997)
[SHOWNEXT] Examples (1997)
Error Log.db --however (1997)
Cookies and domains (2006)
Limitations on fields? Server is crashing (1997)
French characters in variables (2001)
[WebDNA] feature requests (2008)
Simple way to create unique SKU (1997)
more on the Shipcost update problem (1997)
Keep away (1997)
[WebDNA] unix timestamp in WebDNA (2009)
sharing cookie recepies (1998)
[QuantityPrice] Not working in WebCatNT 2.0.1??? (1997)
Help! WebCat2 bug (1997)
NT Setup (1998)
Problems with [Search] param - Mac Plugin b15 (1997)
This message couldn't reach the list! (multi-column layout ofsearch results) (1998)
Shopping problems with 2.1b3 acgi (1997)
WC2b15 File Corruption (1997)