Utility methods for Float needed in the Protobuf/gRPC context.
stringOrFloatJsonDecoder : Json.Decode.Decoder Basics.Float
Decode a float from a JSON float (1.23, 2.3e4)
or a String formatted in the same way ("1.23", "2.3e4").
Also accepts the special strings "Infinity", "-Infinity" and "NaN" resulting in
1/0
, -1/0
and 0/0
respectively.