Function validateNumber

Returns a number corresponding to the supplied value, ensuring the supplied value is a valid number or a string containing only a number.

LisnUsageError If the value is invalid.