I'm computing a GPA and with 3 decimals it comes to 3.536 and I want it to display 3.53. Everything I do rounds it to 3.54.
COMPUTE SEM_GPA/D12.3 =
IF SEM_EARN EQ 0 AND SEM_COMP EQ 0 THEN 0 ELSE
IF SEM_COMP GT 0 THEN SEM_GP / SEM_COMP;
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.