get_real_precision()
#
Retrieves the current precision setting for real number representation in JSON encoding.
Prototype
int get_real_precision(void);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
This function does not take any parameters. |
Return Value
Returns the current precision value used for encoding real numbers in JSON.
Notes
This function is useful for checking the precision setting before modifying it with set_real_precision()
.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples