is_length_metric() is_length_metric(string $str) : bool Test if the string specified indicates a metric length value (accepts cm) Parameters string $str Returns bool
is_weight_metric() is_weight_metric(string $str) : bool Test if the string specified indicates a metric mass value (accepts kg or kgs) Parameters string $str Returns bool