Return the absolute value of the given number

number:absolute(FLOAT $number) : FLOAT

number:absolute(20)
#=> 20.0

number:absolute(-10)
#=> 10.0

number:absolute(-10.9898)
#=> 10.9898

number:absolute(0)
#=> 0.0

number:absolute(-0.0008)
#=> 0.0008

Copyright ©2013-2022 SunSed®. All rights reserved.