Vb Code - Programming - Nairaland
Nairaland Forum › Science/Technology › Programming › Vb Code (1092 Views)
1 Reply
| Vb Code by masterd1(op): 5:10pm On Jun 11, 2007 |
can anyone help me with the solution to this vb 6.0 code for almighty formular, cause i'm having problem with the SQUARE ROOT dim a, b, c, x1,x 2 as double a=val(text1.text) b=val(text2.text) c=val(text3.text) x1= (-b+sqrt(b^2-4*a*c))/(2*a) x2= (-b-sqrt(b^2-4*a*c))/(2*a) text4.text= x1 text5.text= x2 PLS I NEED VB 6.0 CODE cause i'm having problem with the square root |
| Re: Vb Code by IG: 6:31pm On Jun 15, 2007 |
The function for square root is sqr() and not sqrt(). Hope that solves your problem. |
| Re: Vb Code by masterd1(op): 7:02pm On Jun 18, 2007 |
thanx a lot IG |
How To Send SMS Using Asp.net/vb.net • Marquee Code In Vb • Post Ur Vb 6.0 Questions Here • 2 • 3 • 4
Guru Should React To This Pls! • Fake Interswitch • Pls I Need Help On Gettin' A Vb E- Textbook