Search Results

Search: Posts Made By: RudiC
12,968
Posted By RudiC
I think it's because the shell uses integer...
I think it's because the shell uses integer arithmetics. Use it in a command that has floating arithmetics, you'll get your decimals:date +%s%N|awk '{printf "%.2f\n", $0/1000000000}'
1350387489.16
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 07:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy