Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
重複の可能性: 数値の丸めの精度
次の要件があります-
これは SQL で記述する必要があります。次のクエリに丸め誤差があると思いますか?
SELECT ROUND ( (SUM(A_MINUTES)/60.0) , 2) FROM TABLEA
ポイント3.時間の値を合計すると、SUM関数が1つ欠けていると見なされます。
SELECT ROUND ( SUM(SUM(A_MINUTES)/60.0) , 2) FROM TABLEA