Merge NumberExpression.cast() and MathUtils.cast()