Re: WebCat2 - [format thousands]
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 10513
interpreted = N
texte = >Is [format thousands] smart enough to know when the data it's formatting>has been preformatted?No. You have to feed it a true number without any commas. Apologies to non-US customers, but for now any numbers you store in your database that you want to work inside [math] and [format] contexts must be stored using a decimal point . for fractions rather than a comma.You are allowed to _output_ the number with European-style decimal delimiters by using the [format] context, but the original must be American-style.Grant Hulbert, V.P. Engineering | Tools for WebWarriorsPacific Coast Software | WebCatalog, WebCommerce Solution11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMasterSan Diego, CA 92128 |619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com------------------------------------To leave this talk list send an email tomacjordomo@smithmicro.comwith BODYunsubscribe WebDNA-Talk------------------------------------
Associated Messages, from the most recent to the oldest:
>Is [format thousands] smart enough to know when the data it's formatting>has been preformatted?No. You have to feed it a true number without any commas. Apologies to non-US customers, but for now any numbers you store in your database that you want to work inside
[math] and
[format] contexts must be stored using a decimal point . for fractions rather than a comma.You are allowed to _output_ the number with European-style decimal delimiters by using the
[format] context, but the original must be American-style.Grant Hulbert, V.P. Engineering | Tools for WebWarriorsPacific Coast Software | WebCatalog, WebCommerce Solution11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMasterSan Diego, CA 92128 |619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com------------------------------------To leave this
Talk List send an email tomacjordomo@smithmicro.comwith BODYunsubscribe WebDNA-Talk------------------------------------
Grant Hulbert
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:
More on the email templates (1997)
[sendmail] questions... (1997)
Bug Report, maybe (1997)
Shopping carts and reloading pages (1997)
Updating a database once per day - An example (1998)
[WebDNA] How much does it cost now? (2008)
Searching & Extracting Info (2004)
select multiple 2 more cents (1997)
Meet your competition (2000)
Database Updates (1997)
Is [thisurl] http or https? (1998)
Resetting a Formvariable (2000)
Refering page (1998)
Read and weep (2003)
WebDNA 6.0 backwards compatible? (2004)
Need relative path explanation (1997)
Running a store on BOTH http and https (1998)
How can I Add several Items into the cart at once? (1997)
WCS Newbie question (1997)
WebCat2 - [format thousands] (1997)