[MONDRIAN-1631]  Cast(... as Integer) was returning a Double.  When attempting to determine the target Category, the Cast function was getting Numeric for Decimal with 0 scale.
(cherry picked from commit 3f4eafa)
Merge pull request #101 from mkambol/lagu-mon1631

[MONDRIAN-1631]  Cast(... as Integer) was returning a Double.  When atte...