abs

abs ( number number ) : number

Returns absolute value of a number

Example


console(abs(-5.6)) //-> 5.6

Parameters

number

Number to be passed in absolute value