a * b: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>")
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command
|sortKey= #


|game1= ofp
|game1= ofp
Line 34: Line 36:
|r1= [[Number]]
|r1= [[Number]]


|x1= <code>_percentage = 0.5 [[a * b|*]] 100</code>
|x1= <sqf>_percentage = 0.5 * 100;</sqf>


|seealso= [[Operators]]
|seealso= [[Operators]]
}}
}}

Latest revision as of 22:42, 28 June 2022

Hover & click on the images for description

Description

Description:
Returns the value of a multiplied by b.
Groups:
Math

Syntax

Syntax:
a * b
Parameters:
a: Number
b: Number
Return Value:
Number

Examples

Example 1:
_percentage = 0.5 * 100;

Additional Information

See also:
Operators

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