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:

WebSTAR and WebSTAR/SSL with WebCatalog plugins (1998) Problems with [Search] param - Mac Plugin b15 (1997) Using Plug-In while running 1.6.1 (1997) bug report -- leading < character (1998) Re(2): SSL, WebSTAR, WebCatalog (1998) wrong input values? (1997) Separate SSL Server (1997) Price recalc based on quantity (1997) [WebDNA] New Ownership for WebDNA! (2008) Problems passing [SKU] with $Replace in 2.0 (1997) form data submission gets truncated (1997) Stopping bad HTML propagation ? (1997) Re:Running 2 two WebCatalog.acgi's (1996) Date problems (1997) WebCat2b13 Command Reference Doc error (1997) Progress !! WAS: Trouble with formula.db (1997) PC site chck pls (2003) multiGroupChecker code redundant? (2000) [ipaddress] (2003) [OT] Missing access_log (2003)