Re: Truncated numbers
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 30648
interpreted = N
texte = Try making a fixComma.db that looks like this:from
to,that's it. convert a comma to a blankthen do a convertchars inside there:$[format .2f][convertchars db=fixComma.db][PriceOne][/format]OR...just fix the data in the db...your choice-HowardOn 20 Apr 2000, Stuart Tremain wrote:> 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?> -- > Stuart Tremain> > Digital Imaging Division> The Ad-Libitum Group> 48 Victoria Street> North Sydney 2060 Australia> Phone: +612 9959 5633 Fax: +612 9929 4146> > email: stuartt@adlib.com.au> http://www.adlib.com.au> > > > -------------------------------------------------------------> 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 > -------------------------------------------------------------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:
Try making a fixComma.db that looks like this:fromto,that's it. convert a comma to a blankthen do a convertchars inside there:$[format .2f][convertchars db=fixComma.db][PriceOne][/format]OR...just fix the data in the db...your choice-HowardOn 20 Apr 2000, Stuart Tremain wrote:> 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?> -- > Stuart Tremain> > Digital Imaging Division> The Ad-Libitum Group> 48 Victoria Street> North Sydney 2060 Australia> Phone: +612 9959 5633 Fax: +612 9929 4146> > email: stuartt@adlib.com.au> http://www.adlib.com.au> > > > -------------------------------------------------------------> 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 > -------------------------------------------------------------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
Howard Wolosky
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:
Re:quit command on NT (1997)
OT - webserver backups (2003)
Converting Esiting Html Table Forms to WebCat (1997)
[OT] Change permissions via FTP? (2002)
Formating found categories (1997)
[shownext max=?] armed (1997)
possible, WebCat2.0 and checkboxes-restated (1997)
Opps, message about deleting (2000)
Navigator 4.01 (1997)
Problem (1997)
Examples of cross-selling with WebCatalog? (1998)
WebDelivery Text (1998)
textarea text truncated by browser (2000)
What is WebDNA (1997)
Do .tpls A Max File Size? (1998)
WebCatalog 402rc2 is now available (2001)
f2 download problems (1997)
RE: Re:Signal Raised (1997)
Hide Ifs (2000)
Bug Report, maybe (1997)