Thanks GAmoore,
Tried it, like
Dim W, H, BMI as double
BMI = W/(H*H)
wt.text = format( W, "#.#")
ht.text = format( H, "#.#")
Index.text = format(BMI, "#.#")
BMIPushButton.enabled = False
'Gets NAN(000).
Any suggestions?
Lennox
From: GAmoore at aol dot com
Reply-To: Getting Started <gettingstarted at lists dot realsoftware dot com>
To: gettingstarted at lists dot realsoftware dot com
Subject: Re: (no subject)
Date: Sat, 29 Jan 2005 19:15:47 EST
In a message dated 1/29/05 4:12:17 PM, lenpartico at hotmail dot com writes:
> Dim W as double
> Dim H as double
> Dim BMI as double
> BMI = W/(H*H)
> Wt.Text = Str(W)
> Ht.Text = Str(H)
> Index.Text = Str(BMI)
> BMIPushButton.enabled = False
>
try this :
Dim W, H, BMI as double
BMI = W/(H*H)
wt.text = format( W, "#.#")
...
_______________________________________________
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>
|