Hi, I've got this problem that I don't uderstand.
I'm calculating values in VBA, and then pasting them into a cell
And I completely don't understand why cell Value is 1,51999998092651 instead of 1,52 ???
Do I really have to make calculations on sheet with Excel functions and then paste just results to cells?
Or is there a way to force two places decimal precision into cell from VBA?
Regards,
Skiff
I'm calculating values in VBA, and then pasting them into a cell
Code:
PLRBG = Round(czLak * (1 - rabat) + 0.00001, 2)
Range("T13").Value = Round(PLRBG, 2)
And I completely don't understand why cell Value is 1,51999998092651 instead of 1,52 ???
Do I really have to make calculations on sheet with Excel functions and then paste just results to cells?
Or is there a way to force two places decimal precision into cell from VBA?
Regards,
Skiff