Skip to end of banner
Go to start of banner

Math routines

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

This section contains routines that enable users to handle attachments.

Routines summary

  • abs — Returns the absolute value of a number. The absolute value of a number is the number without its sign.
  • ceiling — Returns number rounded up, away from zero, to the nearest multiple of significance.
  • cos — Returns the cosine of the given angle.
  • degrees — Converts radians to degrees.
  • e number — Constant function. Returns the value of e.
  • exp — Returns e raised to the power of number.
  • fact — Returns the factorial of a number.
  • floor — Rounds number down, toward zero, to the nearest multiple of significance.
  • formatNumber — Formats a number according to a format string.
  • ln — Returns the natural logarithm of a number.
  • log — Returns the logarithm of a number to the base you specify.
  • pi — Constant function. Returns the value of Pi.
  • power — Returns the number raised to the desired power.
  • radians — Converts degrees into radians.
  • rand — Returns a random number between 0.00 and 1.00.
  • random — Returns a random int value between 0 (inclusive) and the specified value (exclusive). This works for integers only.
  • roman — Converts an Arabic numeral to Roman numeral, as text, of course.
  • round —  Rounds a number to a specified number of digits.
  • sign — Determines the sign of a number (signum).
  • sin — Returns the sine of the given angle.
  • sqrt — Returns a positive square root.
  • tan — Returns the tangent of an angle, provided in radians.
  • trunc — Truncates a number to a specified precision.
  • No labels