How a value will be rounded in Linux environment?
<p>I have a small program collect data from Oracle Database and show on GUI in Linux.
At database: value = 4.25
But after I get value and show data on GUI with type double. I have value = 4.2</p>

<p>In Linux machine, How a value will be rounded? 
(value greater than 0.005 will be rounded to 0.01 or value greater and equal 0.005 will be rounded to  0.01)</p>

<p>Ex:</p>

<pre><code>#1/ 4.25 will be rounded to 4.2
#2/ 4.25 will be rounded to 4.3
</code></pre>

<p>Which one is true: #1 or #2?</p>

<p>Please help me verify this problem.</p>
