![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Mar 2005
Posts: 14
Rep Power: 0
![]() |
Hello guys/gals of the code, I'm new to this whole VB.Net world so I try to follow the KISS method, and was wondering: What is the best way to find the square root of a number in VB.Net? Every language seems to have a different way to find the square root of a number. (BTW: I'm thinking its sqrt () BUT I'm wondering if that has a accuracy issue..) Thanks allot!
__________________
The elder newb. Last edited by Jakeyman_I_Am; Jan 23rd, 2006 at 9:39 AM. |
|
|
|
|
|
#2 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
VB has the ^ operator, so I would presume VB .NET does too. This operator is the "to the power of" operator:
2 ^ 5 = 32 16 ^ (1 / 2) = 4 |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|