Round numbers 

using bc which is relatively portable at least works on Linux and OSX, and I assume BSD