Re: Truncated numbers
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 30646
interpreted = N
texte = >I have some prices in a db that look like this>1,234.56>>When I use $[format .2f][Priceone][/format]>the result gives me $1.23>>The obvious problem is the comma, how can I stop this happening?Strip the commas before you use the format context -- by putting the [priceone] tag inside a convertchars context that uses a special db to change commas to nothing.================================Kenneth Grome, WebDNA Consultant808-737-6499 http://webdna.net================================-------------------------------------------------------------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
Associated Messages, from the most recent to the oldest:
>I have some prices in a db that look like this>1,234.56>>When I use $[format .2f][Priceone][/format]>the result gives me $1.23>>The obvious problem is the comma, how can I stop this happening?Strip the commas before you use the format context -- by putting the [priceone] tag inside a convertchars context that uses a special db to change commas to nothing.================================Kenneth Grome, WebDNA Consultant808-737-6499 http://webdna.net================================-------------------------------------------------------------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
Kenneth Grome
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:
Newbie Tax Question (1997)
Using Currencies other than Dollars (1997)
WebCatalog NT beta 18 problem (1997)
Append File help needed (2000)
Support ?? (1997)
emailer w/F2 (1997)
RE: WebCat cannot handle compatible search parameters? (1997)
RE: Missing contexts on NT (1997)
To Err or Not Custom Error (1999)
Problems with shopping cart (1997)
Happy Halloween - Check out the pumpkin (2002)
[WebDNA] Paypal Sandbox TCPConnect (2012)
Implementing Gift Certificates in online store (1998)
[isfile] ? (1997)
PR: WebCatalog Affiliates Program Announced -- Share the revenue for promoting WebCatalog (2000)
Add Unit Ship Cost to Cart (2000)
Sort Order on a page search (1997)
member pages (2000)
carriage returns in data (1997)
Calendar (1997)