mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
33e25535c9
* Deprecate common function numberToDigitsString
22 lines
557 B
Plaintext
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
|