Function validate_naturalNumber
Checks if a value is a positive integer starting from 1, 2, 3, and so on. No 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:
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://en.wikipedia.org/wiki/Natural_number 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 natural number, FALSE otherwise |