Rank: Member
Joined: 6/28/2010(UTC) Posts: 38
|
I have a private store that sells wholesale
They want product prices to show to 4 digits to the right of the decimal point.
The Product table will hold the data this way, but only two digits are shown on the web site.
I am "squeeking by" by putting the price in the "Price over ride text" field, but the order still shows only 2 decimals and if I put in a large quantity such as 1000--- it round to 2 decimals - cheating the customer.
I noticed that If I select a different COUNTRY it lets me choose a "money format" - I wonder if I can change this "money format" in one central location and have my web store use 4 decimals in EVERY place where it is needed?
Anyone got any easy solutions for me?
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 1,786
|
For the most part prices are displayed using the built-in .net string formatting based on the current culture code for the store. In the US, this means that .net formats the numbers as two decimal places. To display 4 you'll have to change every single instance of the "ToString" call to use a custom format. That's a bit of work but doable.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.