BIS fnc isLeapYear: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:\{\{Name\|arma3\}\}: [fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
m (codecomment → cc)
Line 19: Line 19:
|x1= <code>_isLeapYear = 2035 [[call]] [[BIS_fnc_isLeapYear]];</code>
|x1= <code>_isLeapYear = 2035 [[call]] [[BIS_fnc_isLeapYear]];</code>


|x2= <code>_isLeapYear = 2036 [[call]] [[BIS_fnc_isLeapYear]]; {{codecomment|// 2036 is a leap year}}</code>
|x2= <code>_isLeapYear = 2036 [[call]] [[BIS_fnc_isLeapYear]]; {{cc|2036 is a leap year}}</code>


| [[date]]
| [[date]]
}}
}}

Revision as of 17:54, 7 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
MathEnvironment

Syntax

Syntax:
Syntax needed
Parameters:
year: Number - a non-decimal number (a.k.a integer)
Return Value:
Return value needed

Examples

Example 1:
_isLeapYear = 2035 call BIS_fnc_isLeapYear;
Example 2:
_isLeapYear = 2036 call BIS_fnc_isLeapYear; // 2036 is a leap year

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