Skip to Content
DocumentationGet StartedModulesMath Modules

Import

math.zare
use math

Methods

MethodArgumentsDescription
@PI()-return pi value
@E()-return Euler’s constant
@SQRT2()-return square root of 2
@SQRT12()-return square root of 1/2
@LN2()-return the natural logarithm of 2
@LN10()-return the natural logarithm of 10
@LOG2E()-returns base 2 logarithm of E
@LOG10E()-returns base 10 logarithm of E
@round()numberreturns the rounded value of number
@ceil()numberreturns the rounded up value near to integer
@floor()numberreturns the rounded down value near to integer
@trunc()numberreturns the integer part of x
@sign()numberreturns if number is negative, null or positive
@pow()number, numberreturn the power of number
@sqrt()numberreturn the square root of number
@abs()numberreturn the absolute value of number
@sin()numberreturn the sin of number
@cos()numberreturn the cos of number
@tan()numberreturn the tan of number
@random()-returns a random number between 0 and 1
@log()numberreturn the log of number
@log2()numberreturn the base 2 log of number
@log10()numberreturn the base 10 log of number
Last updated on