includeDecimalIfZero property
If true, decimal value will be included in the formatted string even if numbers after decimals are only 0s.
Otherwise, decimal value will be excluded i.e. 2.00 -> 2 2.01 -> 2.01
Default is true.
Implementation
final bool includeDecimalIfZero;