|Home | Tutorial | Classes | Functions | Qt Scripter | Language | Library | Qt API | QSA Articles | Qt Script for Applications | ![]() |
[Prev: Built-in Constants] [Home] [Next: NaN]
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]
Copyright © 2001-2003 Trolltech | Trademarks | QSA version 1.0.0-beta2
|