parseUnit

fun parseUnit(str: String): Double?