Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Teams
, (opens new window)

Power Scripts for Jira Cloud
Results will update as you type.
  • Get started
  • Configuration guides
  • Integration guides
  • Feature guides
  • Advanced features
  • Migration resources
  • Simple Issue Language
    • Getting started with SIL
    • SIL reference guide
    • SIL Functions library
      • Function Index
      • Packages
      • Array Functions
      • Basic Functions
      • Date and Interval Functions
      • Excel Functions
      • File Manipulation Functions
      • HTTP Functions
      • Incoming Mail Processing Functions
      • Integration with Other Systems
      • Jira Administration Functions
      • Jira Integration Functions
      • Jira Service Management Functions
      • Jira Software Functions
      • Listener Functions
      • Math Functions
        • abs
        • bitwise_and
        • bitwise_lshift
        • bitwise_not
        • bitwise_or
        • bitwise_rshift
        • bitwise_rushift
        • bitwise_xor
        • ceiling
        • cos
        • degrees
        • e number
        • exp
        • fact
        • floor
        • formatNumber
        • ln
        • log
        • pi
        • power
        • radians
        • rand
        • random
        • roman
        • round
        • sign
        • sin
        • sqrt
        • tan
        • trunc
      • Parameter Functions
      • Scheduling Functions
      • String Functions
      • System Integration
      • Webhooks Functions
  • Tutorials and recipes
  • Jira Product Discovery support
  • Release notes
  • Help and support
    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    Math Functions
    Updated Aug 20

    Math Functions

    Math library of SIL.

    Functions Summary

    • abs — Returns the absolute value of a number. The absolute value of a number is the number without its sign.
    • bitwise_and — Takes two numbers as operands and does AND on every bit of two numbers.
    • bitwise_lshift — Takes two numbers, left shifts the bits of the first operand, the second operand decides the number of places to shift.
    • bitwise_not — Takes one number and inverts all bits of it.
    • bitwise_or — Takes two numbers as operands and does OR on every bit of two numbers.
    • bitwise_rshift — Takes two numbers, right shifts the bits of the first operand, the second operand decides the number of places to shift.
    • bitwise_rushift — Takes two numbers, right shifts the bits of the first operand.The vacant leftmost position is filled with 0 instead of the sign bit.
    • bitwise_xor — Takes two numbers as operands and does XOR on every bit of two numbers.
    • 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. Natural logarithms are based on the constant e (2.71828182845904).
    • 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.

    Need support? Create a request with our support team.

    Copyright © 2005 - 2025 Appfire | All rights reserved.

    {"serverDuration": 15, "requestCorrelationId": "8570638a2a6649498ede20ca70a69f13"}