trimTrailingZero
Control whether trailing zeros should be removed or not.
Numbers without trailing zeros will still be kept as-is.
Default option is false
.
Example for false
- 1.20
- 1.0
Example for true
- 1.2
- 1