setSystemOfUnits: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (arma3 category)
(added example)
Line 17: Line 17:




|x1= <code>
|x1= <code>myNum = 5;
myNumNew = setSystemOfUnits myNum;
</code>|= EXAMPLE1  
</code>|= EXAMPLE1  



Revision as of 00:00, 26 March 2015

Hover & click on the images for description

Description

Description:
Set system of units.
Groups:
Uncategorised

Syntax

Syntax:
setSystemOfUnits value
Parameters:
value: Number - 0 for metric, 1 for mixed, 2 for imperial.
Return Value:
Nothing

Examples

Example 1:
myNum = 5; myNumNew = setSystemOfUnits myNum;

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section