Arma 3 Scripting

round

  • Arma 3 v0.50
  • First in Armed Assault v1.00

Command · Markdown · JSON · original wiki page

Description

Rounds the provided value to the closest integer.

Syntax

round value

Parameters:

Returns: Number

Examples

Example 1

round 5.25; // returns 5

Example 2

round -5.25; // returns -5

See also

floor · ceil · linearConversion