This is the snippet:
String myTime = someTime / 1e9d + ",";
someTime
is derived by using System.nanoTime()
. What does 1e9d
do here?
1e9
means 10^9
2d
means 2 as double
e.g.
1e9
=> 1.0E910e9
=> 1.0E10See also the Floating-Point Literals section of The Java™ Tutorials.