@Converter
    public static RoundingMode toRoundingMode(IndyObject obj) {
        if (!obj.isSymbol())
            throw new EvalException("Not symbol: " + obj);
        switch (((Symbol) obj).getValue()) {
        case "UP":
            return RoundingMode.UP;
        case "DOWN":
            return RoundingMode.DOWN;
        case "CEILING":
            return RoundingMode.CEILING;
        case "FLOOR":
            return RoundingMode.FLOOR;
        case "HALF_UP":
            return RoundingMode.HALF_UP;
        case "HALF_DOWN":
            return RoundingMode.HALF_DOWN;
        case "HALF_EVEN":
            return RoundingMode.HALF_EVEN;
        case "UNNECESSARY":
            return RoundingMode.UNNECESSARY;
        default:
            throw new EvalException("Not RoundingMode constant: " + obj.getValue());
        }
    }