Thread overview | |||||
---|---|---|---|---|---|
|
October 10, 2012 Best way to store postgresql's "numeric" type in D? | ||||
---|---|---|---|---|
| ||||
It is up to 131072 digits before the decimal point; up to 16383 digits after the decimal point. |
October 10, 2012 Re: Best way to store postgresql's "numeric" type in D? | ||||
---|---|---|---|---|
| ||||
Posted in reply to denizzzka | 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?? |
October 10, 2012 Re: Best way to store postgresql's "numeric" type in D? | ||||
---|---|---|---|---|
| ||||
Posted in reply to denizzzka | 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
|
Copyright © 1999-2021 by the D Language Foundation