Hi All, I'm using PROC SQL to create the sum values for numeric variables, which contain both positive and negative values. My raw table looks like below: Group Date Var A 2/2/2022 -1 A 2/2/2022 -3 A 2/2/2022 4 A 2/6/2022 5 A 2/6/2022 -3 A 2/6/2022 -2 I'm calculating the sum by group and date for var: PROC SQL SELECT DISTINCT GROUP, DATE, SUM(VAR) AS SUM FROM RAW GROUP BY GROUP, DATE; QUIT; So I know the sum is zero for each group on each date. However, my result shows a scientific notation like 8.881784E-16 for each sum, which is very close to zero but does not equal to zero. I tried to change to format of my numeric variable but it didn't work. Any suggestions? Thank you so much!!
... View more