Click to See Complete Forum and Search --> : Parse


elwell
08-07-2003, 11:29 PM
I use parseInt() sometime and parseFloat() and stuff but I dont know what the word parse means or exactly what it does?

Exuro
08-08-2003, 12:57 AM
Well, you can always get the definition from dictionary.com:

http://dictionary.reference.com/search?q=parse

But yeah, pretty much what parse means is to break something down into its smaller components. So, what parseInt does is breaks down a piece of data so that all you have left is an Integer. The parseFloat method does the same thing only returns a float. That make sense?

elwell
08-08-2003, 10:49 PM
yes. sense it makes.