On Tue, Feb 13, 2018 at 12:39 PM, rob stone <floriparob@xxxxxxxxx> wrote: >> long count = ((BigDecimal)ic.get(“EB”)).longValue(); .. > The method is documented as:- > public static BigDecimal valueOf(long val) His problem seems to be the opposit, he does not have the long value and wants it. Francisco Olarte.