WebCat2.0 [format thousands .0f] no go

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10523
interpreted = N
texte = >>>>Trying to format a number 1579 no floating point. >>>> >>>>[format thousands 7?][countertotal][/format], where ? is what goes here! >>> >>>[format thousands .0f][countertotal][/format] ought to do it. It looks >>>weird, but basically you're telling it you want 0 places after the decimal >>>point. >> >>What about [format thousands 7d][countertotal][/format], wouldn't that do >>it too? I thought f was for floating point and d was for decimal integer? > >what that gives you if a number where 1579.12587=countertotal > >[format thousands 7d][countertotal][/format] = output 1579 > >It strips it down to a full integer, but does not make it 1,579. Tried that :) > >will give Grants suggeted [format thousands 0.f[countertotal][/format a go >later today. If it works, then issues dead (no post) if it doesn't then :) > with [format thousands .0f[countertotal][/format] where counter total = 1579the output was 1,579, <--it places a trailing comma...hmmmNo Good=============================================== Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.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.0 [format thousands .0f] no go (grichter@panavise.com (Gary Richter) 1997)
  2. Re: WebCat2.0 [format thousands .0f] no go (Grant Hulbert 1997)
  3. WebCat2.0 [format thousands .0f] no go (grichter@panavise.com (Gary Richter) 1997)
>>>>Trying to format a number 1579 no floating point. >>>> >>>>[format thousands 7?][countertotal][/format], where ? is what goes here! >>> >>>[format thousands .0f][countertotal][/format] ought to do it. It looks >>>weird, but basically you're telling it you want 0 places after the decimal >>>point. >> >>What about [format thousands 7d][countertotal][/format], wouldn't that do >>it too? I thought f was for floating point and d was for decimal integer? > >what that gives you if a number where 1579.12587=countertotal > >[format thousands 7d][countertotal][/format] = output 1579 > >It strips it down to a full integer, but does not make it 1,579. Tried that :) > >will give Grants suggeted [format thousands 0.f[countertotal][/format a go >later today. If it works, then issues dead (no post) if it doesn't then :) > with [format thousands .0f[countertotal][/format] where counter total = 1579the output was 1,579, <--it places a trailing comma...hmmmNo Good=============================================== Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.com =============================================== ------------------------------------ To leave this Talk List send an email to macjordomo@smithmicro.com with BODY unsubscribe WebDNA-Talk ------------------------------------ grichter@panavise.com (Gary Richter)

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:

no global [username] or [password] displayed ... (1997) Help formatting search results w/ table (1997) Serving images from databases (1998) Multiple catalog databases and showcart (1997) Using Plug-In while running 1.6.1 (1997) Erotic Sites (1997) Password Generator (2004) test (2004) Sensations (1997) Not sending email !!! (2002) Sorting a Search... (1998) Non WebDNA forms and timed popups... (2002) Field name-subcategory (1997) Web Catalog 2 demo (1997) covertchars db to keep CR's, but not new ones (2002) WebCat2b13MacPlugIn - syntax to convert date (1997) [WebDNA] new webdna site - please check out...easy to win an iPad :) (2010) Modify instead of Add (2000) Did you hear about this? (1997) can WC render sites out? (1997)