method

number

rails latest stable - Class: ActiveSupport::Duration::ISO8601Parser
number()
private

Parses number which can be a float with either comma or period.