Description
Returns frequency as a string
Syntax
syntax inferred from the function header
[param0, param1, param2] call BIN_fnc_frequencyToString
Parameters:
param0— 0: NUMBER - frequency in MHz, returned value is in format "<value> <unit>" ARRAY in format [NUMBER,NUMBER] - frequency range in MHz, returned value is in format "<value1> <unit1> - <value2> <unit2>"param1— 1: NUMBER - order offset. When 0, frequency 1000 will return "1 GHz". When -1, returned value will be "1000 MHz"param2— 2: BOOL - true if input values are in Hz, false if in MHz (standard across the game)
Returns: STRING
Function header
The comment at the top of the function's file in the game; this page's description, params, syntax, returns come from it.
/*
Description:
Returns frequency as a string
Parameter(s):
0:
NUMBER - frequency in MHz, returned value is in format "<value> <unit>"
ARRAY in format [NUMBER,NUMBER] - frequency range in MHz, returned value is in format "<value1> <unit1> - <value2> <unit2>"
1: NUMBER - order offset. When 0, frequency 1000 will return "1 GHz". When -1, returned value will be "1000 MHz"
2: BOOL - true if input values are in Hz, false if in MHz (standard across the game)
Returns:
STRING
*/