Morph for an elm/core Float
Morph
elm/core
Float
Morph.OneToOne from a Decimal or Exception to a Float
Morph.OneToOne
Decimal
Exception
Keep in mind that Decimal -> Float can be lossy since Float is fixed in bit size while Decimal is not
Decimal -> Float
Inverse of Decimal.Morph.orExceptionFloat
Decimal.Morph.orExceptionFloat
Morph.OneToOnefrom aDecimalorExceptionto aFloatKeep in mind that
Decimal -> Floatcan be lossy sinceFloatis fixed in bit size whileDecimalis notInverse of
Decimal.Morph.orExceptionFloat