validate_rationalNumber

Checks if a value is an integer AND decimal.

Parameters
mixed $value

The value being checked

#
Returns
boolean

TRUE if the value is rational number, FALSE otherwise