Hi,

I have a formula that peforms a calculation, and as the inputs are double, the calc is too.

However, this return 7.8443242 and i want it to return 8 (rounded value)Code:`private double calcpoints(float input_pr, float input_ca, float input_fa, float input_fi) {`

return ((input_pr / 10.9) + (input_ca / 9.2) + (input_fa / 3.9) + (input_fi / 35));

How do i do this please?

thanks