Type/to search
Built-in Functions
Global
Version
IsVirtual
GetOS
GetPid
GetMeta
Sleep
Unix
UnixNano
_D
GetCommand
GetLastError
SetErrorFilter
_N
_C
_Cross
JSON.parse
JSON.stringify
Encode
MD5
UUID
Log
Market
Trade
Account
Futures
Exchange
IO
Network
Storage
Threads
TA
Talib
OS
Structures
Built-in Variables and Constants
Conventions
Exchanges

Returns the current system version number.

Version()

Examples

Print the version number of the docker program.

javascript
function main() { Log("Version", Version()) // Output: Version 3.9.2 }
python
def main(): Log("Version", Version()) # Output: Version 3.9.2
rust
fn main() { Log!("Version", Version()); // Output: Version 3.9.2 }

Returns

TypeDescription

string

The current system version number, for example: 3.9.2.

See Also

Remarks

The system version number is the version number of the hosting program (docker/agent).