[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 #100 from mkambol/3.5-mon1631

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