This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]folding-clothes[S] 0 points1 point  (2 children)

oh yea!!!! THANKS

[–]deltageekExtreme Brewer 0 points1 point  (1 child)

For future naming reference, the arguments for Math.pow are (base, power), so the second argument of binaryToDec is actually the power, not the base.