₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,344,197 members, 8,510,620 topics. Date: Friday, 30 October 2026 at 05:38 PM

Toggle theme

Vb Code - Programming - Nairaland

Nairaland Forum › Science/Technology › Programming › Vb Code (1122 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
1 Reply

How To Send SMS Using Asp.net/vb.net • Marquee Code In Vb • Post Ur Vb 6.0 Questions Here • 2 • 3 • 4

IT gurus,Please !!! • Flash Game Help • Hi, I Need Help With This Php Code :