Here is how to find odd and even numbers in php.
Continue reading “PHP how to find Odd and Even numbers”
Category: Math and Numbers
PHP Leading Zero for Double Digit Numbers
How to output a number with leading zero like dates and time.
Continue reading “PHP Leading Zero for Double Digit Numbers”
PHP Validation Numbers Only From
How to check for number values only and block or convert letter strings to integers.
Continue reading “PHP Validation Numbers Only From”
PHP Round Off Decimal or Convert to Decimal Point
Round a number up or down or Round off a floating decimal point number using PHP’s functions round(). Or convert a digit to a decimal point. Greate for shopping carts or time sheet programs.
Continue reading “PHP Round Off Decimal or Convert to Decimal Point”