Textbox?

Tanner

New Member
Licensed User
Hey Guys,
How can I have a textbox show only 4 places past the decimal point?
Tried Format command, but I must be missing something.

code:

Sub Button1_Click
c=(0.5*a)
d=(2*Sqrt(2*c*b-b*b))
textbox4.Text=d ''' I want this to return 4 places'''':sign0085:
app_start
End Sub

code:

Thanks,
Tanner
 

Tanner

New Member
Licensed User
Thanks Agraham,

That worked!!
The help file says:
(Format(1234.5678,"N2"))
Will display: 1,234.57

The extra ()'s were throwing me.

Thanks again,
Jerry
 
Top