1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-11 01:42:22 +03:00

Add decimal rounding to the sqlite3FpDecode() routine.

FossilOrigin-Name: 27871140caa833f0bc0962e44356993938e93dcf81c1074382b1560a3e1aeb61
This commit is contained in:
drh
2023-06-30 19:41:57 +00:00
parent a1b0ff1735
commit 002330dc48
5 changed files with 44 additions and 18 deletions

View File

@@ -4611,7 +4611,7 @@ struct FpDecode {
char z[24]; /* Significiant digits */
};
void sqlite3FpDecode(FpDecode*,double);
void sqlite3FpDecode(FpDecode*,double,int);
char *sqlite3MPrintf(sqlite3*,const char*, ...);
char *sqlite3VMPrintf(sqlite3*,const char*, va_list);
#if defined(SQLITE_DEBUG) || defined(SQLITE_HAVE_OS_TRACE)