Cookbook: Difference between revisions

No change in size ,  5 March 2013
Line 144: Line 144:
== Mathematics ==
== Mathematics ==
=== Test if a number is a integer ===
=== Test if a number is a integer ===
There's several menthods to do this. The simplest method is probably {{Codeline|<nowiki>fix (x) == x</nowiki>}}
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 ===
Anonymous user