Click to See Complete Forum and Search --> : convert binary to decimal !!


AoiSora
10-13-2003, 11:29 PM
Hi !! i have a script that ask for user to input the binary number (1 or 0) and then convert to decimal. but i have no idea how to make that script out !! can anyone give me
some concepts about this? :(

Jeff Mott
10-14-2003, 05:21 AM
e.g.,var five = parseInt("101", 2)http://devedge.netscape.com/library/manuals/2000/javascript/1.5/reference/toplev.html#1064173

Edit: Sorry. Didn't notice which forum I was in :o This probably isn't in the language you wanted.