VN_fnc_numberToBase

From Savage Game Design Wiki
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;...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Heyoxe
Argument(s): n/a
Effect(s): unknown

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]