Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#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 Veranika Liaukevich, 10 years ago

Status: newaccepted

comment:2 by Veranika Liaukevich, 10 years ago

Resolution: fixed
Status: acceptedclosed

comment:3 by Dimitar Misev, 10 years ago

Can you provide some examples for both operations here?

comment:4 by Dimitar Misev, 10 years ago

Ah nevermind, I saw that you submitted tests in the systemtest, that's enough.

Note: See TracTickets for help on using tickets.