Difference between revisions of "S2 Cookbook: Numbers"

From Dreamwidth Notes
Jump to: navigation, search
m
Line 1: Line 1:
== Comparing two numbers to see if they are equal or which is greater ==
+
== Arithmetic ==
 +
 
 +
== Comparing two numbers to see if they are equal or one is lesser/greater ==
  
 
== Seeing if a number is odd or even ==
 
== Seeing if a number is odd or even ==

Revision as of 23:59, 21 June 2010

Arithmetic

Comparing two numbers to see if they are equal or one is lesser/greater

Seeing if a number is odd or even

Pad a number with 0s to a certain number of digits

Get a random number