digitalmars.D.learn - Best way to store postgresql's "numeric" type in D?
- denizzzka (2/2) Oct 10 2012 It is up to 131072 digits before the decimal point; up to 16383
- H. S. Teoh (7/9) Oct 10 2012 Sounds like a case for BigFloat (which isn't part of the standard
- Andrei Alexandrescu (3/5) Oct 10 2012 For now, I guess string would be it.
It is up to 131072 digits before the decimal point; up to 16383 digits after the decimal point.
Oct 10 2012
On Wed, Oct 10, 2012 at 11:35:11AM +0200, denizzzka wrote:It is up to 131072 digits before the decimal point; up to 16383 digits after the decimal point.Sounds like a case for BigFloat (which isn't part of the standard library yet; somebody's working on it and it's about 95% complete now, from what I last heard). T -- Who told you to swim in Crocodile Lake without life insurance??
Oct 10 2012
On 10/10/12 5:35 AM, denizzzka wrote:It is up to 131072 digits before the decimal point; up to 16383 digits after the decimal point.For now, I guess string would be it. Andrei
Oct 10 2012