private void testModulo(String s1, String s2, String s3) throws UcumException { Decimal v1 = new Decimal(s1); Decimal v2 = new Decimal(s2); Decimal v3 = v1.modulo(v2); check(v3.asDecimal().equals(s3), s1+" % "+s2+" = "+s3+", but the library returned "+v3.asDecimal()); }
d1 = new Decimal(l.primitiveValue()); Decimal d2 = new Decimal(r.primitiveValue()); result.add(new DecimalType(d1.modulo(d2).asDecimal())); } catch (UcumException e) { throw new PathEngineException(e);
d1 = new Decimal(l.primitiveValue()); Decimal d2 = new Decimal(r.primitiveValue()); result.add(new DecimalType(d1.modulo(d2).asDecimal())); } catch (UcumException e) { throw new PathEngineException(e);
private void testModulo(String s1, String s2, String s3) throws UcumException { Decimal v1 = new Decimal(s1); Decimal v2 = new Decimal(s2); Decimal v3 = v1.modulo(v2); check(v3.asDecimal().equals(s3), s1+" % "+s2+" = "+s3+", but the library returned "+v3.asDecimal()); }
d1 = new Decimal(l.primitiveValue()); Decimal d2 = new Decimal(r.primitiveValue()); result.add(new DecimalType(d1.modulo(d2).asDecimal())); } catch (UcumException e) { throw new PathEngineException(e);
d1 = new Decimal(l.primitiveValue()); Decimal d2 = new Decimal(r.primitiveValue()); result.add(new DecimalType(d1.modulo(d2).asDecimal())); } catch (UcumException e) { throw new PathEngineException(e);
d1 = new Decimal(l.primitiveValue()); Decimal d2 = new Decimal(r.primitiveValue()); result.add(new DecimalType(d1.modulo(d2).asDecimal())); } catch (UcumException e) { throw new PathEngineException(e);