Arma 3 Scripting

Function in EM Interface

BIN_fnc_frequencyToString

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns frequency as a string

Syntax

syntax inferred from the function header

[param0, param1, param2] call BIN_fnc_frequencyToString

Parameters:

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
*/