VN_fnc_numberToBase
Revision as of 21:11, 4 May 2022 by Slow (talk | contribs) (Created page with "{{Function |v= 1.00 |author=Heyoxe |a= |e= |g1= mainFunctions |d= <pre>Converts a number from one base to another</pre> |s= [_number,_base] call VN_fnc_numberToBase;...")
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Heyoxe |
|
Description
Converts a number from one base to another
Syntax
- Syntax
- [_number,_base] call VN_fnc_numberToBase;
- Parameters
- _number: Number - Number
- _base: Number - Base
- Return value
- Array - Array of number in base
Examples
- Example 1
[255, 16] call vn_fnc_numberToBase; // [15, 15]