Package com.barchart.util.common.math

Examples of com.barchart.util.common.math.DoubleParts


  private ValueBuilder() {
  }

  public static final PriceValue newPrice(final double price) {
    final DoubleParts part = MathIEEE754.extractDecimal(price);
    return ValueBuilder.newPrice(part.getMantissa(), part.getExponent());
  }
View Full Code Here

TOP

Related Classes of com.barchart.util.common.math.DoubleParts

Copyright © 2018 www.massapicom. 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.