Wizard
|
Posted: 09/09/2003, 6:55 PM |
|
I'm impletmenting the bookstore example using ASP + templates accessing a microsoft access database. The prices on the books have decimal prices in the database. When displayed in bookdetail.asp the prices are rounded to the nearest whole number. Example: Book price in database is $17.50. when it displays in 'bookdetail.asp' (bookdetail.html) the price is rounded up to $18.00.
I can't seem to locate in the asp code where this is happening.
I've unsuccessfully searched the all the asp code for 'round' in the book store example to locate where this is happening.
I've generated the asp using CC and in CCS with the same result.
After reviewing 60+ pages in this forum I don't see anything about this minor problem.
I can post a url to show this happening if neccessary.
Has anyone come across this?
You can email me atstudio@digitalharvest.com or post any solution in a response
and I'll check it daily.
Thanks in advance
Wizard
|
|
|
RonB
|
Posted: 09/10/2003, 7:42 AM |
|
In the properties box for the price field set type to float and choose the needed mask from the dropdown.
Ron
|
|
|
|