private static class DecimalScaleFactor.DownSmall extends DecimalScaleFactor
Modifier and Type | Field and Description |
---|---|
private long |
longDivisor |
powerOf10
Constructor and Description |
---|
DownSmall(int powerOf10,
long divisor) |
Modifier and Type | Method and Description |
---|---|
long |
targetFloor(long srcNumericalValue) |
boolean |
targetOutOfRange(long srcNumericalValue,
long maxAbsValue) |
long |
targetValue(long srcNumericalValue) |
appendExponentTo, asExponentialStringBuilder, compareTo, concat, equals, get, getEngFloorFactor, getMultiplier, getSciFloorFactor, hashCode, invert, isInteger, isUnity, targetOutOfRange, targetValue
concat, getOffset, invertAndConcat, invertAndConcat, targetFloor, targetIntFloor, targetNumber, targetNumber
public boolean targetOutOfRange(long srcNumericalValue, long maxAbsValue)
targetOutOfRange
in interface IScalarAffineTransform
targetOutOfRange
in class DecimalScaleFactor
public long targetValue(long srcNumericalValue)
targetValue
in interface IScalarAffineTransform
targetValue
in class DecimalScaleFactor
srcNumericalValue
- a numerical quantity value, expressed in the source unitlong
public long targetFloor(long srcNumericalValue)
targetFloor
in interface IScalarAffineTransform
targetFloor
in class DecimalScaleFactor
srcNumericalValue
- a numerical quantity value, expressed in the source unitlong