NewToProgramming
Technical User
I have a math equation that gives me the answer in a edit box. I want to have the number to only have the tenths in the decimal area, but not rounded off, just chopped off.
example: Say the number is 56.4589. Rounded off to the tenths digit would be 56.5. I don't want that. I want it to just remove anything after the tenths digit giving the answer of 56.4.
Any ideas?
Thank you,
Mark
example: Say the number is 56.4589. Rounded off to the tenths digit would be 56.5. I don't want that. I want it to just remove anything after the tenths digit giving the answer of 56.4.
Any ideas?
Thank you,
Mark