data type problems

saldarius

New member
Joined
Apr 22, 2008
Messages
4
Programming Experience
1-3
I am programming a converter,and of course i need to do maths to convert.But i have a problem.When i have to divide it won't show the decimals.Ex. if 556 is suposed to be divided by 10 it shows 55 not 55.6
this is a part of the code:
textbox2.text=int(textbox1.text / 10)
how can i fix this?:confused:
 
Last edited:
Back
Top