Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# format decimal as currency

private decimal _amount;

public string FormattedAmount
{
    get { return string.Format("{0:C}", _amount); }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #format #decimal #currency
ADD COMMENT
Topic
Name
8+7 =