Convert method added.
Add guard exception for non-numbers.