#646 closed enhancement (fixed)
Integer division and modulo operations
Reported by: | Veranika Liaukevich | Owned by: | Veranika Liaukevich |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | qlparser | Version: | development |
Keywords: | Cc: | ||
Complexity: | Medium |
Description
There is a need for integer division and modulo operations in the query language, as the default division operation converts its arguments and result into floating-point type.
After discussion in the mailing list, it was decided to add new operators div() and mod() for integers.
Change History (4)
comment:1 by , 11 years ago
Status: | new → accepted |
---|
comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
comment:3 by , 11 years ago
comment:4 by , 11 years ago
Ah nevermind, I saw that you submitted tests in the systemtest, that's enough.
Note:
See TracTickets
for help on using tickets.
Can you provide some examples for both operations here?