|Home | Tutorial | Classes | Functions | QSA Workbench | Language | Qt API | QSA Articles | Qt Script for Applications |

[Prev: Built-in Constants] [Home] [Next: NaN]

#### Infinity

This is the value of any division by zero, i.e.

        var i = 1/0;

In Qt Script, division by zero does not raise an exception; instead it assigns the `Infinity` value as the result of the expression. Use isFinite() to test whether a value is finite or not.

[Prev: Built-in Constants] [Home] [Next: NaN]