StringFixed returns a rounded fixed-point string with places digits after the decimal point.
newFromFloat(0).StringFixed(2) // output: "0.00"
newFromFloat(0).StringFixed(0) // output: "0"
newFromFloat(5.45).StringFixed(0) // output: "5"
newFromFloat(5.45).StringFixed(1) // output: "5.5"
newFromFloat(5.45).StringFixed(2) // output: "5.45"
newFromFloat(5.45).StringFixed(3) // output: "5.450"
newFromFloat(545).StringFixed(-1) // output: "550"
Decimal type