two decimals for exchange rate with data anotations in mvc model code example
Example: asp.net data annotations double
[RegularExpression(@"^\d+\.\d{0,2}$")] --> Mostra apenas 2 casas decimais
[RegularExpression(@"^\d+\.\d{0,2}$")] --> Mostra apenas 2 casas decimais