0

I am creating crud using C# ASP.Net to update the database(including a salary column type=decimal). In the View, for the input, I have set the type to number and value to the current data, and in the Model and Controller, I've set the data type to decimal. But in the browser, I can not update the fractional part. Ex: if the current salary is 67.25 and I want to change it to 67.15 I receive this error: Enter a valid value, nearest values 66.25, 68.25. Any help is appreciated.

Nayereh Rasuli
  • 216
  • 2
  • 8

0 Answers0