Перейти к содержанию

System::ceil

Материал из RAGE MP Wiki Archive

I'm guessing this rounds a float value up to the next whole number, and FLOOR rounds it down

Syntax

<syntaxhighlight lang="javascript">mp.game.system.ceil(value);</syntaxhighlight>

Required Arguments

  • value: float

Return value

  • int

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also

Шаблон:System s function c