newbe RRS feed

  • Question

  • Im new to programming and I have just downloaded Small Basic. Its a awsome learning tool but i have yet to learn how to square root. If anyone can help plz 
    Wednesday, July 21, 2010 12:47 AM


  • You can use the SquareRoot function in the Math class to calculate square root of some numbers.

    For example, to calculate the square root of some number stored in the variable x:


    Hopes this help.


    • Marked as answer by litdevModerator Wednesday, July 21, 2010 6:26 PM
    • Edited by rclim95 Saturday, April 19, 2014 10:23 PM
    Wednesday, July 21, 2010 1:47 AM