Hi, My need is 23 decimal digits of precision. We work on complex payout calculation engine where in formula outputs are quite large numbers and clients do not want to round off.
We want to use SQLite for local disk data store and calculations. Thanks, Dinesh Navsupe On Thu, Nov 13, 2014 at 6:14 PM, Simon Slavin <slav...@bigfraud.org> wrote: > > On 13 Nov 2014, at 12:23pm, Dinesh Navsupe <dinesh.navs...@gmail.com> > wrote: > > > Does any of SQLite data Type support 23,10 precision format for Number? > > > > If yes, could you pleas help with right data type or approach to achieve > > this. > > SQL stores REAL numbers in a REAL field which conforms to 64-bit IEEE 754 > (as much as SQL permits). This allows 16 decimal digits of precision. > > You can store numbers of greater precision than that -- by storing them as > strings or BLOBs. You just can't have SQLite do its own maths on them. > > > If No, then is there something that can be added to SQLite and how > quickly? > > It is unlikely that the developer team would be interested in doing this. > Given that the source code for SQLite is open, you might want to implement > them yourself. However, the test library for having the developer team do > this this would probably have to be huge. > > SQLite4, which is not released yet, uses an 18-digit decimal number with a > 3-digit base-10 exponent. It is possible that this might change if you are > able to produce a good argument for doing so > > Simon. > _______________________________________________ > sqlite-users mailing list > email@example.com > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > _______________________________________________ sqlite-users mailing list firstname.lastname@example.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users