Examples of doubleValue()


Examples of org.joda.time.DateTime.doubleValue()

            setCellValueForDouble(cell, (double)value);
            return true;
        }
        if(valueAsObj instanceof BigDecimal) {
            BigDecimal value = (BigDecimal) valueAsObj;
            setCellValueForDouble(cell, value.doubleValue());
            return true;
        }
        if(valueAsObj instanceof BigInteger) {
            BigInteger value = (BigInteger) valueAsObj;
            setCellValueForDouble(cell, value.doubleValue());
View Full Code Here

Examples of org.joda.time.LocalDate.doubleValue()

            setCellValueForDouble(cell, (double)value);
            return true;
        }
        if(valueAsObj instanceof BigDecimal) {
            BigDecimal value = (BigDecimal) valueAsObj;
            setCellValueForDouble(cell, value.doubleValue());
            return true;
        }
        if(valueAsObj instanceof BigInteger) {
            BigInteger value = (BigInteger) valueAsObj;
            setCellValueForDouble(cell, value.doubleValue());
View Full Code Here

Examples of org.joda.time.LocalDateTime.doubleValue()

            setCellValueForDouble(cell, (double)value);
            return true;
        }
        if(valueAsObj instanceof BigDecimal) {
            BigDecimal value = (BigDecimal) valueAsObj;
            setCellValueForDouble(cell, value.doubleValue());
            return true;
        }
        if(valueAsObj instanceof BigInteger) {
            BigInteger value = (BigInteger) valueAsObj;
            setCellValueForDouble(cell, value.doubleValue());
View Full Code Here

Examples of org.jscience.mathematics.number.Float64.doubleValue()

      return eq(currentValue.pow(eq.intValue()));
    }
    Float64 base = Float64.valueOf(currentValue.doubleValue());
    Float64 exponent = Float64.valueOf(eq.doubleValue());
    Float64 pow = base.pow(exponent);
    return eq(pow.doubleValue());
  }

  public SmartNumber toThePowerOf(final Number val) {
    return toThePowerOf(eq(val));
  }
View Full Code Here

Examples of org.jscience.physics.amount.Amount.doubleValue()

    public static ComplexAmount valueOf(String s){
        /* Amount is positive, Complex is unit vector */
        ComplexAmount retval=new ComplexAmount();
        Amount amount = Amount.valueOf(s);
        retval.cUnit = amount.getUnit();
        retval.cComplex=Complex.valueOf(amount.doubleValue(amount.getUnit()),0);

        return retval;
    }
    public ComplexAmount to(Unit u){
        ComplexAmount retval = this;
View Full Code Here

Examples of org.odftoolkit.odfdom.dom.attribute.anim.AnimAudioLevelAttribute.doubleValue()

   * @return - the <code>Double</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
   */
  public Double getAnimAudioLevelAttribute() {
    AnimAudioLevelAttribute attr = (AnimAudioLevelAttribute) getOdfAttribute(OdfDocumentNamespace.ANIM, "audio-level");
    if (attr != null) {
      return Double.valueOf(attr.doubleValue());
    }
    return null;
  }

  /**
 
View Full Code Here

Examples of org.odftoolkit.odfdom.dom.attribute.chart.ChartAxisPositionAttribute.doubleValue()

   * @return - the <code>Double</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
   */
  public Double getChartAxisPositionAttribute() {
    ChartAxisPositionAttribute attr = (ChartAxisPositionAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "axis-position");
    if (attr != null) {
      return Double.valueOf(attr.doubleValue());
    }
    return null;
  }

  /**
 
View Full Code Here

Examples of org.odftoolkit.odfdom.dom.attribute.chart.ChartErrorLowerLimitAttribute.doubleValue()

   * @return - the <code>Double</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
   */
  public Double getChartErrorLowerLimitAttribute() {
    ChartErrorLowerLimitAttribute attr = (ChartErrorLowerLimitAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "error-lower-limit");
    if (attr != null) {
      return Double.valueOf(attr.doubleValue());
    }
    return null;
  }

  /**
 
View Full Code Here

Examples of org.odftoolkit.odfdom.dom.attribute.chart.ChartErrorMarginAttribute.doubleValue()

   * @return - the <code>Double</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
   */
  public Double getChartErrorMarginAttribute() {
    ChartErrorMarginAttribute attr = (ChartErrorMarginAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "error-margin");
    if (attr != null) {
      return Double.valueOf(attr.doubleValue());
    }
    return null;
  }

  /**
 
View Full Code Here

Examples of org.odftoolkit.odfdom.dom.attribute.chart.ChartErrorPercentageAttribute.doubleValue()

   * @return - the <code>Double</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
   */
  public Double getChartErrorPercentageAttribute() {
    ChartErrorPercentageAttribute attr = (ChartErrorPercentageAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "error-percentage");
    if (attr != null) {
      return Double.valueOf(attr.doubleValue());
    }
    return null;
  }

  /**
 
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.