ACE3/addons/common/functions/fnc_numberToDigitsString.sqf
SilentSpike 33e25535c9
Deprecate common function numberToDigitsString (#6007)
* Deprecate common function numberToDigitsString
2018-01-02 17:00:01 +00:00

22 lines
557 B
Plaintext

/*
* Author: commy2
* Transforms a number to an string of the correspondending digits.
*
* Arguments:
* 0: Number to 'digitize' <NUMBER>
* 1: Set the minimal length of the returned string. Useful for getting left hand zeroes. (Optional) <NUMBER>
*
* Return Value:
* Digits. The maximum length is six digits. <STRING>
*
* Example:
* [5, 5] call ace_common_fnc_numberToDigitsString
*
* Public: Yes
*/
#include "script_component.hpp"
ACE_DEPRECATED(QFUNC(numberToDigitsString),"3.14.0","CBA_fnc_formatNumber");
_this call CBA_fnc_formatNumber