| Tutorial | Classes | Functions | QSA Developer | Language | Library | Qt API Qt Script for Applications

[Prev: killTimers()] [Home] [Next: parseInt()]

parseFloat()

parseFloat( string )

Parses the string and returns the floating point number that the string represents or NaN if the parse fails. Leading and trailing whitespace are ignored. If the string contains a number followed by non-numeric characters, the value of the number is returned and the trailing characters ignored.

See also parseInt().

[Prev: killTimers()] [Home] [Next: parseInt()]


Copyright © 2001-2002 TrolltechTrademarks
QSA version 1.0.0-beta1