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 WebWarriors Pacific Coast Software | WebCatalog, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMaster San Diego, CA 92128 | 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com ------------------------------------ To leave this talk list send an email to macjordomo@smithmicro.com with BODY unsubscribe WebDNA-Talk ------------------------------------ Associated Messages, from the most recent to the oldest:

    
  1. Re: WebCat2 - [format thousands] (Kenneth Grome 1997)
  2. Re: WebCat2 - [format thousands] (Grant Hulbert 1997)
  3. Re: WebCat2 - [format thousands] (Kenneth Grome 1997)
  4. Re: WebCat2 - [format thousands] (Grant Hulbert 1997)
  5. WebCat2 - [format thousands] (Kenneth Grome 1997)
>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 WebWarriors Pacific Coast Software | WebCatalog, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMaster San Diego, CA 92128 | 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com ------------------------------------ To leave this Talk List send an email to macjordomo@smithmicro.com with BODY unsubscribe 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:

fieldnamesdir=ra equivalent for [sql] (2002) OT: Way off-topic: Qmail and Linux (2003) FAX orders (1996) Locking up with WebCatalog... (1997) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Sub Totals (2000) Nesting FoundItem Context (1997) date format (another question) (2000) dos performance (1998) Comments in db? (1997) WebCat2 - [format thousands] (1997) oops private message leaked into talk list (1997) Fun with Dates - finally resolved but.... (1997) [subtotal] and others (1997) Multiple prices (1997) Setting a null value for reply to address using sendmail... (2001) Error:Too many nested [xxx] contexts (1997) Upgrade to web DNA6.0 (2004) Date search - yes or no (1997) Domain serial issue (2008)