replace old toFixed code with JS native Number.toFixed code