12-12-2006, 08:41 PM
var a = Math.sqrt(b);
Anyhelp would be appreciated. Thanks.
12-12-2006, 10:35 PM
Looks fine to me as long as b is an integer. Try just typing
and see if it returns 3 to cut out the guesswork
12-13-2006, 01:58 AM
For some reason, putting it into an alert worked, and it also worked with a variable. Thanks a lot, David
12-13-2006, 06:43 AM
b definitely does not have to be an integer, it can be any real number (ie loads of decimal places will work).