

Print(math.isnan(math.sqrt(-1))) -> trueĮxample usage: print(math.round(5.4)) -> 5įloat roundtoplace(float n, int place = 1)Įxample usage: print(math.roundtoplace(1.5678654, 3)) -> 1.568 Use this if you want to test a divisor before dividing or something, or before getting the square root of a negative number.Įxample usage: print(math.isnan(0/0)) -> true

Returns a boolean that determines whether arg is NaN.

Returns the area of a triangle with base base and height height. That will import the extensions for table, math and string. It can be called with multiple arguments, so import("table", "math", "string") This module returns a function that imports an import function that lets you import desired libraries. I recommend in the first line requiring it. Expect updates every 1-2 weeks, whether it be removing a redundant function, extending a new library, or adding new functions to already-supporting libraries. Libraries+ is a library extension module that adds functions that roblox/Lua does not provide us. This module is deprecated, use the new one: Libraries++
