[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.
Merge pull request #99 from mkambol/mondrian-1631

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