How to Tell if a Number Is Whole in Php
if ($num == (int) $num) {
// It's whole
} else {
// It's not
}
Published on
Previous post: Filter Some Keys in Multi Dimensional Arrays in Php
Next post: OpenShift Error: Layer 7 Wrong Status, Invalid Response