Maru.Params.Types.Float (maru_params v0.2.5)

Buildin Type: Float

Parser Arguments

* style - float style
  * `:native` (default) - native float
  * `:decimals` - uses `Decimal.new/1` to parse the binary

Examples:

optional :pi, Float
optional :pi, Float, style: :decimals

Link to this section Summary

Link to this section Functions

Link to this function

parse(input, args)

Link to this function

parser_arguments()

Link to this function

validator_arguments()