This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
I need to show numbers in an input text field on a form to 5 points of precision eg 0.25 must be shown as 0.25000 That's easy, but submitting them again and converting them to floats doesn't work, I get conversion errors. I thought I could get around the problem by having a get method that returns a string, and a set method that takes a float, eg.
But this doesn't work. I get 'Conversion Error "newPrice": Error during model data update.' Can anyone help me?