Re: syntax question, not in online refernce

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10521
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 1579It 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 :)=============================================== 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: syntax question, not in online refernce (grichter@panavise.com (Gary Richter) 1997)
  2. Re: syntax question, not in online refernce (Kenneth Grome 1997)
  3. Re: syntax question, not in online refernce (Grant Hulbert 1997)
  4. Re: syntax question, not in online refernce (grichter@panavise.com (Gary Richter) 1997)
  5. Re: syntax question, not in online refernce (Kenneth Grome 1997)
  6. syntax question, not in online refernce (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 1579It 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 :)=============================================== 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:

Multiple edits/replacementsd to db. Possible? (1997) 2.0Beta Command Ref (can't find this instruction) (1997) Weird G3 Happenings. (1998) Harvesting invalid email addresses from bounced emails??? (2000) Image Pirating [protecting against] (2003) [WriteFile] problems (1997) encryption madness (2003) multi-paragraph fields (1997) Need relative path explanation (1997) WebSTAR, OSX, WebDNA permissions problem ... (2005) Re:trouble (1997) Associative lookup style? + bit more (1997) Here we go again...WebDNA - SQL- Clustering (2006) Disappearing HTML/WebDNA (1998) [WebDNA] proxy server domains mysteriously appear in webdna's domain list (2010) Re:2nd WebCatalog2 Feature Request (1996) Math with Time (1997) spell check site (2005) WebCat2b15MacPlugin - showing [math] (1997) blank page from template (1997)