Arma 3 Scripting

BIS_fnc_convertUnits

  • Arma 3 v0.50
  • First in Take On Helicopters v1.00

Function · Markdown · JSON · original wiki page

Description

Converts values to a target system of units.

Syntax

[value, from, to, mode, precision] call BIS_fnc_convertUnits

Parameters:

Returns: Number or String - converted value

Examples

Example 1

private _distString = [500, 0, 5, 1, -1] call BIS_fnc_convertUnits;

See also

systemOfUnits