Having a problem getting a decimal field on a single form to round up to the nearest whole number.
Using OnLoad code below works great to calculate my field.
{Avg_FPM} = ({FV_1}+{FV_2}+{FV_3}+{FV_4}+{FV_5}+{FV_6}+{FV_7}+{FV_8})/8;
Field Avg_FPM is set to Decimal in Scriptcase
Decimal Precision is set to 0.
In testing, when I input numbers that average out to be .5 or higher the system isn’t rounding up to the next whole number. For example if my calculation total comes up to be 10.6, the field should display 11 but it is currently displaying 10 instead.
Any suggestions would be greatly appreciated!
Thanks!