1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

How can I Square Root in VB6?

Discussion in 'Software Development' started by THFS, Feb 27, 2004.

Thread Status:
Not open for further replies.
Advertisement
  1. THFS

    THFS Thread Starter

    Joined:
    Feb 20, 2004
    Messages:
    253
    Sorry, I know this is probably a stupid question, but I've been using VB for three days and I'm totally new to programming. I know +, -, *, / and ^ but square root doesn't have a keyboard representation.

    Any help is greatly appreciated.
     
  2. MustBNuts

    MustBNuts

    Joined:
    Aug 21, 2003
    Messages:
    2,016
    It's Sqr()

    There are a lot of math functions that do not use symbols...usually a quick search of a good VB book or the Help files will yield what you're looking for.

    MBN
     
  3. THFS

    THFS Thread Starter

    Joined:
    Feb 20, 2004
    Messages:
    253
    Thanks for the help, I'm one step closer to finishing now.
     
  4. AbvAvgUser

    AbvAvgUser

    Joined:
    Oct 3, 2002
    Messages:
    2,281
    I guess (4 ^ 0.5) is sq root of 4. I am not too sure. Left school (and algebra long back)
     
  5. iamnafets

    iamnafets

    Joined:
    Dec 24, 2003
    Messages:
    39
    It is, as is 4^(1/x) the Xth root of a number.
     
  6. AbvAvgUser

    AbvAvgUser

    Joined:
    Oct 3, 2002
    Messages:
    2,281
    Thanks for confirming what I said. Algebra used to be my favourite subject. Used to get highest in class :D. But left it long long back.
     
  7. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/207257

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice