sometimes round it up to the next whole number which is not what you want.
places may be negative,. Copy the script into Code.gs in the script editor (Tools > Script editor). places - [ OPTIONAL - 0 by default ] - The number of decimal places to which to. You'll notice the bars changing colors at different stages of execution.