fromString

Parses the given String into the proper value of Unit. Recognizes the "%" string as PERCENT.

Return

the parsed Unit value

Parameters

value

the String to parse