Math.abs

{{API doc function {{argument|type=number|name=num}} {{API doc example | name = Print the absolute value of user input | description = Read a line from the user, then print the absolute value of the number they entered. | code = print(math.abs(tonumber(read))) | output = Depends on what the user wrote. For instance, if they were to enter, the number printed would be. }} }}
 * name = math.abs
 * description = Return the absolute value of {{Argument reference|type=number|name=num}.
 * args =
 * returns = {{type|number}}
 * part_of = Lua {{API doc source link|https://github.com/SquidDev/Cobalt/blob/master/src/main/java/org/squiddev/cobalt/lib/MathLib.java#L80}}
 * api = math
 * examples =