iDiv Oracle mapping is wrong

For OracleDevice, iDiv(Decimal, Decimal) is mapped as floor(cast(ALeftValue as decimal) / cast(ARightValue as decimal)). This is wrong, since cast(x as decimal) rounds x to the nearest integer. Thus, 29.8 div 5 is 6 on OracleDevice, not 5.

Mappings Fixed

Hi Jon,

Thanks for the post, I have corrected the mappings in both the Oracle and MSSQL devices. They no longer cast their arguments.

Bryn Rhodes
Database Consulting Group LLC