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:
Running _every_ page through WebCat ? (1997)
AutoCommit Preference? (1998)
[ShowNext] (1997)
Electronic Delivery (1997)
Trouble with Netscape (1998)
FORMS: Returning a specific page (1997)
Almost a there but..bye bye NetCloak (1997)
problems with 2 tags shakur (1997)
Now you see it now you donīt (1997)
Using Grep to Format Text (2001)
Duplicate Cart Numbers (1999)
Problems with ^ could be solved with [REPLACE CHARACTERS] (1997)
transferring values (1998)
100% cpu load (2006)
two of the same named db's open at once (1998)
all records returned. (1997)
A multi-processor savvy WebCatalog? (1997)
Migrating to NT (1997)
Here is the code: (2000)
how does multiple [cart] commands work? (2007)