class NumberType implements Type<NumberHolder> {

    @Override
    public NumberHolder decode(String text) {
        BigDecimal value = EngineUtil.hasText(text) ? parse(text) : null;
        return new NumberHolder(value);
    }

}