0

Possible Duplicate:
MVC3 - 3 decimal places on type double with leading zero
Can not type a double in a textbox

I'm using Entity Framework for generating Model in an asp.net web application. I have classes that contain attributes that are doubles. My problem is that when I use:

@HTML.EditorFor(model => model.Double_attribute) 

and test my application I can't type a double in that editor, I only can type integers. (I'm using the Razor view engine) How to solve this? Thanks.

Community
  • 1
  • 1

0 Answers0