Jtds SetFloat inputs Uneven Values in Database(Miscrosoft Sql Server)
<p>I am trying to input values in sql server database using setfloat</p>

<p>jtdsproc.setFloat(12, nb.getOpenAmount());</p>

<p>My amount is 1.20
But in database it is entering 1.199999523
I just want to enter till 2 digits but this set float making Problem
How to enter float value so that it goes till two decimal .</p>

<p>I am Using Jtds Library to connect to sql server</p>
