JLS1700
12-07-2004, 11:52 PM
Hi I'm pretty new to ASP, and trying to learn it gradually.
I have an ecommerce site using an Access database.
It extracts the products through the ID numbers, as well as the prices.
Everything else is working fine, but the only problem I see to encounter, is that when I save a price as £94.00, it displays in the page as £94... and for example £12.10, that would become £12.1.
I need to try and sort this out, I have been trying to work it out for a few weeks, on and off, and really have come to a blank.
I tried using the round feature with the 2 decimal places, command, hoping it would display as that, but still no luck.
I got the price set as currency in access database, and 2 decimal places, but I'm sure the problem lies in the asp extraction process from the database.
Also a relating problem, I have 2 prices in the database, one ex vat, and one inc vat, I need the ex vat table to automatically work out the ex vat price from the inc vat table, I know you have to use an expression builder,but after hours of fiddling, still stuck on square 1.
I need the "ex vat" table to get the price from "inc vat" table and divide it by 1.175, thats all...
Any help would be greatly appreciated, if I need to post any code, please just say and I will asap.
Thanks a lot :thumbsup:
Jamie
I have an ecommerce site using an Access database.
It extracts the products through the ID numbers, as well as the prices.
Everything else is working fine, but the only problem I see to encounter, is that when I save a price as £94.00, it displays in the page as £94... and for example £12.10, that would become £12.1.
I need to try and sort this out, I have been trying to work it out for a few weeks, on and off, and really have come to a blank.
I tried using the round feature with the 2 decimal places, command, hoping it would display as that, but still no luck.
I got the price set as currency in access database, and 2 decimal places, but I'm sure the problem lies in the asp extraction process from the database.
Also a relating problem, I have 2 prices in the database, one ex vat, and one inc vat, I need the ex vat table to automatically work out the ex vat price from the inc vat table, I know you have to use an expression builder,but after hours of fiddling, still stuck on square 1.
I need the "ex vat" table to get the price from "inc vat" table and divide it by 1.175, thats all...
Any help would be greatly appreciated, if I need to post any code, please just say and I will asap.
Thanks a lot :thumbsup:
Jamie