I’m using this to get current timestamp in seconds and add it to a string Double.toString((System.currentTimeMillis()/1000))
However instead of decimal notation I get “1.23213E9”. How do I switch to the decimal notation ?
I’m using this to get current timestamp in seconds and add it to a
Share
The shortest is
If you want to retain milli-seconds you can use
produces a String like