nanos world API Reference Unofficial documentation
Static function Shared Native

math.sqrt

Return the square root of a given number. Only non-negative arguments are allowed

Syntax

Lua
math.sqrt(value)

Parameters

Name Type Default Description
value number Value to get the square root of.

Returns

  • number