On Fri, Feb 10, 2017 at 6:21 PM, Jens Alfke <j...@mooseyard.com> wrote:

> > On Feb 10, 2017, at 5:59 AM, Dominique Devienne <ddevie...@gmail.com>
> wrote:
> >
> > 2) ask DRH to consider enhancing SQLite's built-in printf() to support
> it out-of-the-box.
>
> I disagree; this is feature bloat.
>

Wow. Feature bloat from adding *1 character* formatting with maybe 20 lines
of code behind it.

> select printf('%''d', 1000)
1,000

POSIX style, i.e. using single quote, thus needs to be doubled in SQL

or maybe comma as in Python, except here it's not "{:,}" but "%,d".

Oh well. I'm evidently in the minority here. --DD
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to