]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Enhance the printf formatter for %#f such that the minus sign is omitted
authordrh <>
Wed, 30 Jul 2025 13:37:49 +0000 (13:37 +0000)
committerdrh <>
Wed, 30 Jul 2025 13:37:49 +0000 (13:37 +0000)
commitbac6793a8a0218e5fc16d8e0a34a6786200eab8a
treecf1e29a9ff9117302bdca4355bf01a47a39efe86
parent7423ecb0a9cf5a0998b605067617dd6a15f82c77
Enhance the printf formatter for %#f such that the minus sign is omitted
if the '+' is missing and all digits shown in the rendering are zero.
Thus, for example, '%#.2f' renders -0.004 as "0.00" instead of "-0.00".

FossilOrigin-Name: 09e1d7c7b4615262dd03adf1be201122f3cb8909ad381d67f51c812f07e25719
manifest
manifest.uuid
src/printf.c