module ActionView::Helpers::NumberHelper
def parse_float(number, raise_error)
def parse_float(number, raise_error) Float(number) rescue ArgumentError, TypeError raise InvalidNumberError, number if raise_error end
def parse_float(number, raise_error) Float(number) rescue ArgumentError, TypeError raise InvalidNumberError, number if raise_error end