Math routines

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !


Routines from this section are available starting with SIL Engine™ 2.5.

Math library of SIL.Initially developed as an extra app, math routines were integrated to the core language long time ago (version 1.4).

Routines Summary

  • absReturns the absolute value of a number. The absolute value of a number is the number without its sign.
  • ceilingReturns number rounded up, away from zero, to the nearest multiple of significance.
  • cosReturns the cosine of the given angle.
  • degreesConverts radians to degrees.
  • e numberConstant function. Returns the value of e.
  • expReturns e raised to the power of number.
  • factReturns the factorial of a number.
  • floorRounds number down, toward zero, to the nearest multiple of significance.
  • formatNumberFormats a number according to a format string.
  • lnReturns the natural logarithm of a number.
  • logReturns the logarithm of a number to the base you specify.
  • piConstant function. Returns the value of Pi.
  • powerReturns the number raised to the desired power.
  • radiansConverts degrees into radians.
  • randReturns a random number between 0.00 and 1.00.
  • randomReturns a random int value between 0 (inclusive) and the specified value (exclusive). This works for integers only.
  • romanConverts an Arabic numeral to Roman numeral, as text, of course.
  • roundRounds a number to a specified number of digits.
  • signDetermines the sign of a number (signum).
  • sinReturns the sine of the given angle.
  • sqrtReturns a positive square root.
  • tanReturns the tangent of an angle, provided in radians.
  • truncTruncates a number to a specified precision.