Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • sqrt(x) - square root

  • floor(x) - round down ie: floor(1.6) = 1

  • ceil(x) - round down up ie: ceil(1.2) = 2

  • min(x, y) - will return the minimum of the two values ie: min(1, 2) = 1

  • max(x, y) - will return the maximum of the two values ie: max(1, 2) = 2

  • round(x) - will round the number to the nearest whole ie: round(1.2) = 1 and round(1.5) = 2

...