MCPcopy Create free account
hub / github.com/CloudCompare/CloudCompare / setNumberPrecision

Method setNumberPrecision

qCC/extern/QCustomPlot/qcustomplot.cpp:8770–8777  ·  view source on GitHub ↗

! Sets the precision of the tick label numbers. See QLocale::toString(double i, char f, int prec) for details. The effect of precisions are most notably for number Formats starting with 'e', see \ref setNumberFormat */

Source from the content-addressed store, hash-verified

8768 \ref setNumberFormat
8769*/
8770void QCPAxis::setNumberPrecision(int precision)
8771{
8772 if (mNumberPrecision != precision)
8773 {
8774 mNumberPrecision = precision;
8775 mCachedMarginValid = false;
8776 }
8777}
8778
8779/*!
8780 Sets the length of the ticks in pixels. \a inside is the length the ticks will reach inside the

Callers 1

setupFullAxesBoxMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected