vknt Posted April 18, 2012 Share Posted April 18, 2012 Hi, I just noticed that if you put float values in an integer field it will completely ignore the decimal point. e.g. I put in 244.5 > it will save 2445 Most of the times the enduser doesn't realize it should be an integer and just copy pastes values in there. Am I seeing this the wrong way or should the integer field automatically round off the values before it saves? 1 Link to comment Share on other sites More sharing options...
ryan Posted April 18, 2012 Share Posted April 18, 2012 The field only accepts digits, so something like a decimal point gets stripped. However, I think this can be solved by me just adding a float check in it's sanitizeValue() function, so I will add this. Link to comment Share on other sites More sharing options...
vknt Posted April 19, 2012 Author Share Posted April 19, 2012 Great, thanks Ryan! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now