JavaScript

  1. Home
  2. Computing & Technology
  3. JavaScript

Float

By Stephen Chapman, About.com

Definition: At one stage it was planned that specific data types would be introduced into the Javascript language. float is one the data types that would have been able to be explicitly defined. To allow for this float was a reserved word. The plan to allow specific data types in Javascript no longer exists and float is therefore no longer on the reserved word list in the latest standards. Since many people still use earlier browsers where this was defined as a reserved word you should avoid using it.

Explore JavaScript

About.com Special Features

Build Your Own Website

Step-by-step advice on how to do everything from choosing a Web host to promoting your content. More >

Connect Your Home Computers

Easy ways to connect two computers for networking purposes. More >

JavaScript

  1. Home
  2. Computing & Technology
  3. JavaScript

©2009 About.com, a part of The New York Times Company.

All rights reserved.