Answers for "asp.net decimal format currency"

C#
1

c# format decimal as currency

private decimal _amount;

public string FormattedAmount
{
    get { return string.Format("{0:C}", _amount); }
}
Posted by: Guest on October-21-2020
0

.net mvc decimal displayformat currency

[DataType(DataType.Currency)]
public float? Cost{ get; set; }
Posted by: Guest on October-13-2020

C# Answers by Framework

Browse Popular Code Answers by Language