Re: formatting a number
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 22304
interpreted = N
texte = >When my customer adds a record, they have a field where they enter a>number. I need single digit numbers to be 2 digits so that they sort>correctly. For example, if they enter 1, I need to add it to the database>as 01.Use [format .2d]1[/format]Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>When my customer adds a record, they have a field where they enter a>number. I need single digit numbers to be 2 digits so that they sort>correctly. For example, if they enter 1, I need to add it to the database>as 01.Use [format .2d]1[/format]Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
Grant Hulbert
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:
Logging purchases (1997)
Credit Card Number checking (1997)
Bug? (1997)
apostrophe in search item (1997)
Uploading files with 3.0/4.0 (2000)
Database Fields (1997)
Typhoon Rev. and PCS store problems (1999)
2.0 Info (1997)
For those of you not on the WebCatalog Beta... (1997)
Search Engine questions ... (2002)
Reversed words (1997)
RE: Languages (1997)
expansion domain freak out (2003)
interesting (2003)
getchars broken? (1997)
More Applescript (1997)
Wierd thing in ViewOrder.tpl (1999)
wc 2 pro users - sites, quotes wanted (1997)
Platform Switch (1997)
strange [date] behavior (2001)