significantFigures method

int significantFigures()

Implementation

int significantFigures() {
  if (scientific) {
    return countSignificants(digits);
  } else {
    return precision;
  }
}