coinop-logan / elm-format-number / FormatNumber.Humanize

These types abstract different strategies to handle decimals ending in zeros. KeepZeros will only remove decimals if all digits are zeros, while RemoveZeros will shorten the decimals removing ending zeros.


type ZeroStrategy
    = KeepZeros
    | RemoveZeros

This is the ZeroStrategy type.