Closed onekiloparsec closed 7 years ago
Done for Hour
and Degree
. Not sure it is the best, but at least, it handles correctly the 0 too.
Well, it doesn't precisely "handle correctly the 0 too", it normalises the input to a meaningful value, even if input isn't entirely consistent (for instance, different signs in minutes, seconds etc). Anyway.
See Numeric types constructors.