Returns the number of hours with parsing the given duration
Optional
the duration string
the duration in hours
David Hsing
Returns the number of hours with parsing the given duration