projectzer1
06-05-2003, 11:40 AM
I am displaying prices from a database. The datatype of the "Price" field is Currency and in the database it holds the two places to the right of the decimal. My problem is when I display it on my website it drops any zeros to the right. Example: £12.30 on the website looks like £12.3
The price is held in a datalist, and tag I use is this:
<%# Container.DataItem( "Price" ) %>
Any help would be appreciated.
Thanks in advance
Paul
The price is held in a datalist, and tag I use is this:
<%# Container.DataItem( "Price" ) %>
Any help would be appreciated.
Thanks in advance
Paul