title: Why java converts double to exponential form
body: <p>I have a problem. In my jsp page I have a textfield which accepts monetary value. When I enter a value such as <code>66777764</code> it becomes <code>6.6777764E7</code> in my textfield whenever there is a validation error. I know this won't affect the value saved in the database but I think its misleading/confusing to the user. Please help. Thanks in advance.</p>