Search in sources :

Example 1 with PrecisionRecord

use of org.apache.poi.hssf.record.PrecisionRecord in project poi by apache.

the class InternalWorkbook method createPrecision.

/**
     * creates the Precision record with precision set to true. (full precision)
     */
private static PrecisionRecord createPrecision() {
    PrecisionRecord retval = new PrecisionRecord();
    // always use real numbers in calculations!
    retval.setFullPrecision(true);
    return retval;
}
Also used : PrecisionRecord(org.apache.poi.hssf.record.PrecisionRecord)

Aggregations

PrecisionRecord (org.apache.poi.hssf.record.PrecisionRecord)1