Most people use the same system of units all the time, and kind of assume other people are using the same units. return Math.round(number * 10000) / 10000 function BearingCapacity(theForm)