Hi All,
I want to show time in seconds in the format( eg 2.034323 sec) of 6 decimal places. but i think so java only work for 3 decimal places(eg 2.034 sec). can any body help me in this respect.
Printable View
Hi All,
I want to show time in seconds in the format( eg 2.034323 sec) of 6 decimal places. but i think so java only work for 3 decimal places(eg 2.034 sec). can any body help me in this respect.
If you check the specifications of the System.currentTimeMillis() and the
System.nanoTime() you will see that the precision offered for millisec/1000
is debatable...