CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 BookStore rounds prices

Print topic Send  topic

Author Message
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

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.