There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot bsod computer connection cpu crash css dell desktop dma driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware hijackthis hjt install internet internet explorer itunes keyboard laptop macro malware monitor motherboard network networking outlook outlook 2003 outlook 2007 outlook express pio problem problems router seo server slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless
Software Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Software & Hardware > Software Development >
How can I Square Root in VB6?


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
THFS's Avatar
Senior Member with 253 posts.
 
Join Date: Feb 2004
Location: Queensland, Australia
Experience: Intermediate
27-Feb-2004, 06:27 AM #1
How can I Square Root in VB6?
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.
MustBNuts's Avatar
Senior Member with 1,930 posts.
 
Join Date: Aug 2003
Location: Nevada
27-Feb-2004, 11:37 AM #2
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
THFS's Avatar
Senior Member with 253 posts.
 
Join Date: Feb 2004
Location: Queensland, Australia
Experience: Intermediate
27-Feb-2004, 09:36 PM #3
Thanks for the help, I'm one step closer to finishing now.
AbvAvgUser's Avatar
Distinguished Member with 2,313 posts.
 
Join Date: Oct 2002
Location: Mumbai, India
Experience: Intermediate
28-Feb-2004, 04:45 AM #4
I guess (4 ^ 0.5) is sq root of 4. I am not too sure. Left school (and algebra long back)
iamnafets's Avatar
Member with 39 posts.
 
Join Date: Dec 2003
28-Feb-2004, 02:57 PM #5
It is, as is 4^(1/x) the Xth root of a number.
AbvAvgUser's Avatar
Distinguished Member with 2,313 posts.
 
Join Date: Oct 2002
Location: Mumbai, India
Experience: Intermediate
29-Feb-2004, 02:09 AM #6
Thanks for confirming what I said. Algebra used to be my favourite subject. Used to get highest in class . But left it long long back.
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 06:49 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.