Forums
This topic is locked
Decimal value
Posted 11 Jul 2005 13:36:33
1
has voted
11 Jul 2005 13:36:33 Daniele Amalfitano posted:
Hi to all,my problem is it:
i have a database with a "product" table. In a filed of this database i have the price of the product. (Euro style ES: 1.150,00).
But with dreamweaver in the asp page the number of the example above display like: 1150 without the decimal ,00.
How can i do to display the right number 1150,00?
Thanks for the help!
Replies
Replied 13 Jul 2005 00:08:34
13 Jul 2005 00:08:34 Rene Bandsma replied:
When formatting values into currency you should use:
<pre id=code><font face=courier size=2 id=code>
FormatCurrency
</font id=code></pre id=code>
<hr><b>DMXZone support manager</b><br><a href="www.kousman.nl">Kousman web resellers</a>
<pre id=code><font face=courier size=2 id=code>
FormatCurrency
</font id=code></pre id=code>
<hr><b>DMXZone support manager</b><br><a href="www.kousman.nl">Kousman web resellers</a>