BIS fnc isLeapYear: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \|x1=" to "\|r1=$1 \|x1=") |
Lou Montana (talk | contribs) m (Text replacement - "\|" to "|") |
||
Line 15: | Line 15: | ||
|p1= year: [[Number]] - a non-decimal number (a.k.a integer) | |p1= year: [[Number]] - a non-decimal number (a.k.a integer) | ||
|r1= [[Boolean]] | |||
|x1= <code>_isLeapYear = 2035 [[call]] [[BIS_fnc_isLeapYear]];</code> | |||
|x2= <code>_isLeapYear = 2036 [[call]] [[BIS_fnc_isLeapYear]]; {{cc|2036 is a leap year}}</code> | |x2= <code>_isLeapYear = 2036 [[call]] [[BIS_fnc_isLeapYear]]; {{cc|2036 is a leap year}}</code> |
Revision as of 10:30, 10 June 2021
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:
- Boolean
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:
- date
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