12-12-2006, 09:41 PM
var a = Math.sqrt(b);
Anyhelp would be appreciated. Thanks.
12-12-2006, 11: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, 02: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, 07:43 AM
b definitely does not have to be an integer, it can be any real number (ie loads of decimal places will work).
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.