Format Thousands Looks Busted

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 33289
interpreted = N
texte = Can someone explain why this code (note the last format context)[lineitems][format 14s][texta][/format][format 19s][textc][/format][format 5.0f][quantity][/format][format 12.2f][price][/format][format 12.2f][math][price]*[quantity][/math][/format] [/lineitems]Gives me (which it should)312939-045 2225034 or 2265129 20 198.00 3960.00But if I change the last [format] context to [format thousands 12.2f]I get the following312939-045 2225034 or 2265129 20 198.003960.00It seems like the [format thousands 12.2f] is not padding as it should.-- Michael A Rosen miker@linqdesigns.com------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Format Thousands Looks Busted (WebDNA Support 2000)
  2. Re: Format Thousands Looks Busted (Aaron Lynch 2000)
  3. Re: Format Thousands Looks Busted (Michael Rosen 2000)
  4. Re: Format Thousands Looks Busted (WebDNA Support 2000)
  5. Format Thousands Looks Busted (Michael A. Rosen 2000)
Can someone explain why this code (note the last format context)[lineitems][format 14s][texta][/format][format 19s][textc][/format][format 5.0f][quantity][/format][format 12.2f][price][/format][format 12.2f][math][price]*[quantity][/math][/format] [/lineitems]Gives me (which it should)312939-045 2225034 or 2265129 20 198.00 3960.00But if I change the last [format] context to [format thousands 12.2f]I get the following312939-045 2225034 or 2265129 20 198.003960.00It seems like the [format thousands 12.2f] is not padding as it should.-- Michael A Rosen miker@linqdesigns.com------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Michael A. Rosen

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:

shipcost (1997) forming a SKU (1999) Multiple Ad databases? (1997) WebCat & WebTen (1997) Requiring that certain fields be completed (1997) Setting up WebCatalog with Retail Pro data (1996) OT Grep Help (2008) Where's Cart Created ? (1997) Problems w/ heavy use of cart header fields? (1998) Ok here is a question? (1997) [format 40s]text[/format] doesn't work (1997) Grant, please help me ... (1997) Discounting prices across a site (1997) Maybe minor bug report (1997) Problem (1997) HELP WITH DATES (1997) Math Problem - Format? (1997) [listfiles] problems (1997) [WebDNA] [lookup] fails when using [url] to wrap a value for potential "&" char? (2009) Templates for Customer Database? (1997)