|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
vb.net help
hi there
can anyone help me. i need to write a peice of code that can find the square root of a number. the thing is i know how to put in the code but i am not sure how to compute the answer to 2 decimal places . any help would be appreciated thanks gavin |
|
#2
|
|||
|
|||
|
Code:
If dblSquareRoot > 0 Then _ Math.Round(Math.Sqrt(dblSquareRoot), 2)
__________________
- Rogier Doekes |
![]() |
| Viewing: Dev Articles Community Forums > Programming > .NET Development > vb.net help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|