round($n, $decimals)   standard rounding
floor($n) / ceil($n)   round down / round up
(int) $n / (float) $n  type-cast conversion
is_numeric($s)         check if a string is numeric
number_format($n, 2)   format with thousands separator
