View Ticket
Not logged in
Ticket Hash: 7b5503683d28fa4de83d32e829a3e2298f5008a2
Title: SetDecimalPrecision example wrong
Status: Open Type: Documentation
Severity: Minor Priority:
Subsystem: Resolution:
Last Modified: 2025-02-07 21:11:00
Version Found In:
User Comments:
anonymous added on 2025-02-07 21:11:00:

https://www.gaia-gis.it/fossil/libspatialite/wiki?name=4.3.0+functions says

SELECT SetDecimalPrecision(8);
SELECT SetDecimalPrecision(.1);      <-- any negative value will reset to the default initial setting
SELECT GetDecimalPrecision();        <-- will return the current setting
But .1 is not a negative value! So the example is wrong.

Also say on there what using .1 will do also.