Arma 3 Scripting

Command in Math

finite

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

Description

Returns true if the provided number is finite (not infinite and a valid number).

Note

  • Maximum finite Number : 3.40282e+38
  • Minimum finite Number : -3.40282e+38

Syntax

finite number

Parameters:

Returns: Boolean

Examples

Example 1

finite 123; // returns true

Example 2

finite log -1; // returns false

Example 3

if (not finite log -1) then { hint "Infinite" };

See also

a / b