module Lithic::Internal::Util

def coerce_float(input)

Returns:
  • (Float, Object) -

Parameters:
  • input (String, Integer, Float) --

Other tags:
    Api: - private
def coerce_float(input)
  Float(input, exception: false) || input
end