ACE3/addons/common/functions/fnc_numberToDigitsString.sqf

22 lines
557 B
Plaintext
Raw Normal View History

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