You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DROP TAG INDEX IF EXISTS test_index_amount;
DROP TAG IF EXISTS test;
CREATE TAG IF NOT EXISTS test (`amount` DOUBLE COMMENT "amount");
CREATE TAG INDEX test_index_amount ON test(amount);
INSERT VERTEX test(amount) VALUES"vid01" : (335230.9285085);
INSERT VERTEX test(amount) VALUES"vid02" : (331031.49107037);
MATCH (v: test) RETURN sum(properties(v).amount) AS amountSum;
+-------------------+
| amountSum |
+-------------------+
| 666262.4195788701 |
+-------------------+
Sum get result is 666262.4195788701.
In fact, the result is 666262.41957887.
The text was updated successfully, but these errors were encountered:
Description:
Support sum double type hasn't loss of accuracy
Example:
Sum get result is 666262.4195788701.
In fact, the result is 666262.41957887.
The text was updated successfully, but these errors were encountered: