Forum Moderators: open
ie clng(variable) or cdbl(variable)
Also, are you sure you ahve the correct data type, A long will only store whole numbers (ie 0.1 will equate to 1)
For floating point numbers I would use a double data type for accurracy.
I hope this helps.
formatnumber(variable,no of decimal places)