Cookbook: Difference between revisions
Jump to navigation
Jump to search
→Test if a number is a integer
Line 144: | Line 144: | ||
== Mathematics == | == Mathematics == | ||
=== Test if a number is a integer === | === Test if a number is a integer === | ||
There | There are several methods to do this. The simplest method is probably {{Codeline|<nowiki>fix (x) == x</nowiki>}} | ||
=== Find if a number is even/odd === | === Find if a number is even/odd === |