Skip to content
JsonData

GetFloatPrecision

double GetFloatPrecision() const

Returns this JsonData's effective floating point precision.

Means, if none is set, it will inherit from its parent or use JASONPP_FLOAT_PRECISION if it has no parent.

The format is in literal decimals. Eg, a precision of two decimal places would be returned as 0.01.