Hi!
I have a little trouble about in truncating numbers. What i want to do is to get the two decimal places.
here's the example:
when i try to get the half of 20500.39 it shows like this:10250.195
but what i want to see is 10250.19 only.
another one is 20500.42, it shows like this: 10250.2
which in real, it must be 10250.21.
what im going to do???
here's my simple code for this:
Text2.text=Int( (Text1/2)*100)/100
please help me.
tnx.
I have a little trouble about in truncating numbers. What i want to do is to get the two decimal places.
here's the example:
when i try to get the half of 20500.39 it shows like this:10250.195
but what i want to see is 10250.19 only.
another one is 20500.42, it shows like this: 10250.2
which in real, it must be 10250.21.
what im going to do???
here's my simple code for this:
Text2.text=Int( (Text1/2)*100)/100
please help me.
tnx.
Comment