leastSignificantDigit abstract method Null safety

int leastSignificantDigit(
  1. double value
)

Gives the least significant digit when value is displayed, where the units digit is 0, and negative is to the right of the decimal. For example, for FIX-3, gives -3 (10^-3 is 0.001), unless the value is such that scientific notation would be used.

This is needed for the HP 15C's integrate function.

Implementation

int leastSignificantDigit(double value);