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, targetValueconcat, getOffset, invertAndConcat, invertAndConcat, targetFloor, targetIntFloor, targetNumber, targetNumberpublic boolean targetOutOfRange(long srcNumericalValue,
long maxAbsValue)
targetOutOfRange in interface IScalarAffineTransformtargetOutOfRange in class DecimalScaleFactorpublic long targetValue(long srcNumericalValue)
targetValue in interface IScalarAffineTransformtargetValue in class DecimalScaleFactorsrcNumericalValue - a numerical quantity value, expressed in the source unitlongpublic long targetFloor(long srcNumericalValue)
targetFloor in interface IScalarAffineTransformtargetFloor in class DecimalScaleFactorsrcNumericalValue - a numerical quantity value, expressed in the source unitlong