Microsoft® JScript parseFloat Method |
Language Reference Version 1 |
Converts strings into floating point numbers.
parseFloat(numstring)The numstring argument is a string that contains a floating point number.
The parseFloat method returns an numerical value equal to the number contained in numstring. If no prefix of numstring can be successfully parsed into a floating point number, NaN (not a number) is returned.parseFloat("abc") // Returns NaN. parseFloat("1.2abc") // Returns 1.2.
You can test for NaN using the isNaN method.
© 1997 by Microsoft Corporation. All rights reserved.
file: /Techref/language/jscript/js418.htm, 2KB, , updated: 1997/9/30 03:44, local time: 2024/11/1 17:18,
18.222.168.192:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.ecomorder.com/Techref/language/jscript/js418.htm"> parseFloat Method</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to massmind.ecomorder.com! |
.