PDA

View Full Version : Solved: I need fixed decimal



maryam
05-16-2007, 09:24 PM
I dont want to increase decimal, but this happens when I want to manupulate textbox2 in the attached file. Can u help me with this pls.

mdmackillop
05-17-2007, 12:07 AM
Hi Maryam
Long is an Integer data type. Use Single or Double if you need to use decimal places. Use the Round function if you want to limit the displayed decimals.

maryam
05-17-2007, 12:29 AM
hi. lol! yes I made a mistake and defined it as long! you know under multipage_change I put dim x as long and then I didnt put anything for other events( textbox_exit) and I was getting different results. I think in other events it was considered as double.