Allowing Decimal values
Every time I have some Calculations in my code the output figure is always rounded off to the nearest whole number. therefore, the decimals are discarded. Sometimes I want to have a figure, especially currency to atleast two decimal places. This happens whether I declare the values as integer or double and set the properties of the text box to two decimal places. What should I do to see the decimals?
Bmulenga
__________________
Bmulenga
|