I have following POCO with Cost as float.
public class CostChart { public string itemType { get; set; } public float? Cost{ get; set; } }
Check out this article(Codeculous.) an alternate way to validate and display the respective currency symbols without setting Globalization and just by adding the data annotations DataType(DataType.Currency).
DataType(DataType.Currency)