RocketRobotz 

Creator envisioning to create random things.

Forums

Post Reply
Forum Home > Visual Basic Codes *Archive > How to find the square root in 2 ways

RocketRobotz
Site Owner
Posts: 8

You need Adobe Flash Player to view this content.


FIRST METHOD = ^(1/2)

button code

try

(answer) = (the #) ^ (1/2)

catch

'the error commands

msgbox("ERROR")

end try

---------------------

SECOND METHOD = SYSTEM.MATH.SQRT(#)

 

button code

try

(answer) = System.math.sqrt((the #))

catch

'the error commands

 

msgbox("ERROR")

end try

was that REALLY EASY! 8)

 


--

Creator envisioning stuff. Random stuff.

~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o

Go to the forums here

Go to my Youtube Channel here or Subscribe

~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o


July 23, 2011 at 5:09 AM Flag Quote & Reply

You must login to post.