Function validate_rationalNumber
Checks if a value is an integer AND decimal.
Package: PHPLucidFrame\Core
Copyright: Copyright (c), PHPLucidFrame.
License: MIT License This source file is subject to the MIT license that is bundled with this source code in the file LICENSE
Author: Sithu sithu@phplucidframe.com
See: http://math.about.com/od/mathhelpandtutorials/a/Understanding-Classification-Of-Numbers.htm
Located at helpers/validation_helper.php
Copyright: Copyright (c), PHPLucidFrame.
License: MIT License This source file is subject to the MIT license that is bundled with this source code in the file LICENSE
Author: Sithu sithu@phplucidframe.com
See: http://math.about.com/od/mathhelpandtutorials/a/Understanding-Classification-Of-Numbers.htm
Located at helpers/validation_helper.php
mixed |
$value |
The value being checked |
boolean
|
TRUE if the value is rational number, FALSE otherwise |