Parses a string for a quantity of type Q at run time.
Throws a DimensionException.
the string to parse.
auto t = parseSI("90 min"); assert(t == 90 * minute); t = parseSI("h"); assert(t == 1 * hour); auto v = parseSI("2"); assert(v == (2 * meter) / meter);
See Implementation
Parses a string for a quantity of type Q at run time.
Throws a DimensionException.