Tried this too
Dim W, H as Double
W = 88.6
H = 1.64
W = CDbl(Wt.text)
H = CDbl(Ht.text)
BSAC.Text = format(pow(W,0.425)*(pow( H,0.725)*0.007184, "#.###")
From: "Lennox Jacob" <lenpartico at hotmail dot com>
Reply-To: Getting Started <gettingstarted at lists dot realsoftware dot com>
To: gettingstarted at lists dot realsoftware dot com
Subject: RE: How to calculate this
Date: Sun, 30 Jan 2005 18:01:03 +0000
Neither did this
BSAC.Text =format(WExp(.425)*HExp(0.725)*0.007184, "#.###")
From: "Lennox Jacob" <lenpartico at hotmail dot com>
Reply-To: Getting Started <gettingstarted at lists dot realsoftware dot com>
To: gettingstarted at lists dot realsoftware dot com
Subject: RE: How to calculate this
Date: Sun, 30 Jan 2005 17:55:12 +0000
Itried this
BSAC.Text =format(Wpower0.425*Hpower0.725*0.007184, "#.##")
but I did not expect it to work and it didn't.
Please help.
Thanks.
Lennox
From: "Lennox Jacob" <lenpartico at hotmail dot com>
Reply-To: Getting Started <gettingstarted at lists dot realsoftware dot com>
To: gettingstarted at lists dot realsoftware dot com
Subject: How to calculate this
Date: Sun, 30 Jan 2005 17:49:05 +0000
I have two editFields named, Wt and Ht, and a third Edit Field named,
BSA, I also have a Pushbutton named BSAC which, when pushed, will
calculate Wt (0.425) * Ht(0.725)* 0.007184, where 0.425 and 0.725 are to
the power of 0.425 anf 0.725 respectively?
I know that I have to put it in the Action event of BSAC but how is this
coded?
Thanks.
Lennox.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|