    public Number convertToNumber(String s, NumberType type) {
        return scanner.convertToNumber(s, type);
    }