Examples of PriceValue


Examples of com.carrotgarden.util.values.api.PriceValue

  }

  public static final boolean isStrictMultiple(final PriceValue priceTest,
      final PriceValue priceStep) {
    final long count = priceTest.count(priceStep);
    final PriceValue priceBack = priceStep.mult(count);
    if (priceBack.equals(priceTest)) {
      return true;
    } else {
      return false;
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.