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>
|