DgsRoundUp: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "{{Client function}} __NOTOC__ This function returns rounded number from the inputed value. For example: 1.1 -> 1 1.5 -> 2 ==Syntax== <syntaxhighlight lang="lua"> intege...")
(No difference)

Revision as of 09:45, 3 May 2018

This function returns rounded number from the inputed value.

For example:

1.1 -> 1

1.5 -> 2

Syntax

integer/float dgsRoundUp ( integer/float input [, integer point ] )