Re: Number searching/formats

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 16587
interpreted = N
texte = At 05:59 PM 3/16/98 -0800, you wrote: >>price=[format 10.2f][form.price][/format] >> >>if the value entered was 19,000. the value saved would be 19.00. (BAD) >>if the value entered was 19000 the value saved would be 19000.00. (GOOD) > >There are a couple things you can do. You could sense the comma with [ShowIf [form.price]^,] and display an error message, or if you're using 2.1 you could strip out the comma with a custom [ConvertChars] database that maps , to . > >Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== >Pacific Coast Software | WebCatalog, WebMerchant, >11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, >San Diego, CA 92128 | Typhoon >619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ > > > > Is 2.1 available for NT. Associated Messages, from the most recent to the oldest:

    
  1. Re: Number searching/formats (PCS Technical Support 1998)
  2. Re: Number searching/formats (apc Information 1998)
  3. Re: Number searching/formats (Grant Hulbert 1998)
  4. Re: Number searching/formats (Kenneth Grome 1998)
  5. Re: Re: Number searching/formats (apc Information 1998)
  6. Re: Number searching/formats (Kenneth Grome 1998)
  7. Number searching/formats (APC Home PC 1998)
At 05:59 PM 3/16/98 -0800, you wrote: >>price=[format 10.2f][form.price][/format] >> >>if the value entered was 19,000. the value saved would be 19.00. (BAD) >>if the value entered was 19000 the value saved would be 19000.00. (GOOD) > >There are a couple things you can do. You could sense the comma with [ShowIf [form.price]^,] and display an error message, or if you're using 2.1 you could strip out the comma with a custom [convertchars] database that maps , to . > >Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== >Pacific Coast Software | WebCatalog, WebMerchant, >11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, >San Diego, CA 92128 | Typhoon >619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ > > > > Is 2.1 available for NT. apc Information

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:

[OT] Am I an Idiot? (2004) Signal Raised error (1997) [WebDNA] ImageMagick troubleshooting (2009) WebCat2_Mac RETURNs in .db (1997) PCS Emailer's role ? (1997) spook tcpconnect? (1999) WebCatalog NT beta 18 now available (1997) How many lookups does it take ... (2003) PCS Frames (1997) NT error logs (1997) Show items based on login Password (2003) WebCat2: Found Items syntax, etc. (1997) Make sure I understand this??? (1997) Client-side Image Maps and WebCat? (1998) Unique SKUs (2000) Location of Browser Info.txt file (1997) Generating Options for a Form. (1997) Web Developer Product Awards (1997) Still Stumped on ShowNext...HELP! (1997) NetCloak as Emailer substitute? (1999)