sunnydanny
Technical User
I have tried a rounding calculation in the control source box of
=(5*.025)*100)/100 which will show 12 instead of 13
I also tried
=(5*.025)*100+.05)/100 which will show 13 but when an imput of 0 is placed where the 5 is I end up with a .01 which is incorrect as it should be 0.
As I know nothing about VB, could someone tell me if it's possible to write a code to do the rounding to two decimals and also show a value of 0 if a 0 is entered?
Thank you
=(5*.025)*100)/100 which will show 12 instead of 13
I also tried
=(5*.025)*100+.05)/100 which will show 13 but when an imput of 0 is placed where the 5 is I end up with a .01 which is incorrect as it should be 0.
As I know nothing about VB, could someone tell me if it's possible to write a code to do the rounding to two decimals and also show a value of 0 if a 0 is entered?
Thank you