rito1
asked on
How to convert Eval("Price") to 2 decimal places
Hi All,
I am using C# and have the following within a repeater control:
<%# Eval("Price") %>
The underlying data type is MONEY and the value is currently returning 10.0000. How can I format this like 10.00?
Many thanks,
Rit
I am using C# and have the following within a repeater control:
<%# Eval("Price") %>
The underlying data type is MONEY and the value is currently returning 10.0000. How can I format this like 10.00?
Many thanks,
Rit
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
For more information on Formatting Types especially the numeric ones see this link and browse for Standard or Cutsom formats.
ASKER
Rit