toPercentage

Converts a string to a percentage float value.