I am trying to add 0.01 to a variable which has been taken by servlet. I use this variable in jsp form but after adding there is a little problem. This is some part of my code and results.
<input type="number" name="bid_price" placeholder="9,99" min="${auction.currently + 0.01}" value="${auction.currently + 0.01}" step="0.01"/>
If i use only the variable, the output is correct (e.g. 0.12). When i add 0.01 insead of 0.13 i have as a result 0,129999997317791.
Can you help me to fix that little error?