lue-bird/elm-morph/3.0.1

Float.Morph

decimalOrException : MorphOrError Float (Result Exception Decimal) error_

Morph.OneToOne from a Decimal or Exception to a Float

Keep in mind that Decimal -> Float can be lossy since Float is fixed in bit size while Decimal is not

Inverse of Decimal.Morph.orExceptionFloat