Fixed bug where single digit numbers would cause an error.

For example "3ft" would give "No value given", but "30 ft" would be
fine.