Skip to content
This repository has been archived by the owner on Apr 15, 2023. It is now read-only.

Implement the numeric type #35

Open
chotchki opened this issue Oct 11, 2021 · 1 comment
Open

Implement the numeric type #35

chotchki opened this issue Oct 11, 2021 · 1 comment

Comments

@chotchki
Copy link
Owner

Postgres has arbitrary precision types that are critical for financial applications.

Implementing them will require a picking up a rust arbitrary precision library such as https://www.postgresql.org/docs/current/datatype-numeric.html

Right now the most reasonable library seems to have major limitations https://github.com/alkis/decimal and is basically a wrapper of the C library http://speleotrove.com/decimal/.

@chotchki
Copy link
Owner Author

This library looks far better for doing the decimal work: https://github.com/paupino/rust-decimal

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant