• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0
You could do a modulus operation in a function that returns a 1. function isInt($num) {return $num%1==0; }
15th Dec 2017, 5:36 AM
Kevin Gilkey-Graham
Kevin Gilkey-Graham - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Find user codes
1 Votes
Game making
0 Votes
How?
0 Votes
Anyone else not able to access courses?
1 Votes
Can someone make a link to a game website plz.
1 Votes
Operating system
0 Votes
Finding images on sololearn
1 Votes
Harman Singh Deep Kandhari - Need Help Understanding HTML Structure and Best Practices
0 Votes
Python questions of operators
1 Votes
Why is my tips in the bug game in Spanish?
0 Votes