I have a problem of wich I first thought is was simple to solve, but i
just can't figure it out.
I have an Autocad VBA program (acad 2002) with a userform with a textbox in
it.
Next to the textboxt I have a button wich measures a distance in Autocad
with getpoint and
puts the meassured value in the text box (as double). My problem is that it
writes
a lot of decimals in the textbox and I would like to round off the measured
value to
2 decimals. Can anyone please help me with this?
Thanks,
Paul.
"Paul" <p...@home.nl> wrote in message
news:av2bsk$m8r$1...@news1.tilbu1.nb.home.nl...
' Round to two decimal places...
TextBox1.Text = Format(1.2345466, "0.00")
-Tim
"Paul" <p...@home.nl> wrote in message
news:av2bsk$m8r$1...@news1.tilbu1.nb.home.nl...
Paul
"Tim Arheit" <tar...@wcoil.com> wrote in message
news:av4hb1$bil$0...@65.17.150.149...
JR
"Tim Arheit" <tar...@wcoil.com> wrote in message
news:av4hb1$bil$0...@65.17.150.149...