abs method

Dimension abs (
  1. Node n
)

Calculates absolute value of a number. Keeps units as they are.

Parameters: number - a floating point number. Returns: number Example: abs(-18.6%) Output: 18.6%;

Implementation

Dimension abs(Node n) => MathHelper._math(_abs, null, n);