migrate toFixed to dot.Util