LuaLibraryUtils.wiki
changeset 2264 e7c3385d41a0
parent 2263 1050e4f78485
equal deleted inserted replaced
2263:1050e4f78485 2264:e7c3385d41a0
    55 Calculates the square root of `num`, but rounded to an integer. This function is desync-safe.
    55 Calculates the square root of `num`, but rounded to an integer. This function is desync-safe.
    56 
    56 
    57 == `integerHypotenuse(x, y)` ==
    57 == `integerHypotenuse(x, y)` ==
    58 Calculates the hypotenuse of a triangle with legs x, y, but rounded to an integer. This function is desync-safe.
    58 Calculates the hypotenuse of a triangle with legs x, y, but rounded to an integer. This function is desync-safe.
    59 
    59 
    60 == `formatEngineString(text, ...)` ==
    60 == `formatEngineString(text, ...)` (1.1.0-dev) ==
    61 Insert parameters %1 to %9 into an engine string and returns the result.
    61 Insert parameters %1 to %9 into an engine string and returns the result.
    62 
    62 
    63  * `text`: engine string with parameters (from `GetEngineString`)
    63  * `text`: engine string with parameters (from `GetEngineString`)
    64  * `...`: Variable number of arguments to insert into the string, if the engine string needs them (placeholders like `%1`). The number of arguments *must* match the number of available arguments of the engine string
    64  * `...`: Variable number of arguments to insert into the string, if the engine string needs them (placeholders like `%1`). The number of arguments *must* match the number of available arguments of the engine string
    65 
    65