# BigDecimal support

**URL:** <https://forum.dfinity.org/t/bigdecimal-support/21271>\
**Category:** Motoko\
**Created:** [July 10, 2023, 10:09am UTC](https://forum.dfinity.org/t/bigdecimal-support/21271 "2023-07-10T10:09:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![romario333](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/romario333/32/8064_2.png) [@romario333](https://forum.dfinity.org/u/romario333)\
**Post date:** [July 10, 2023, 10:09am UTC](https://forum.dfinity.org/t/bigdecimal-support/21271/1 "2023-07-10T10:09:12Z")

</div>

Hello,

Motoko has a `Float` type, which provides base 2 decimals. Is there a particular type or library available that can support base 10 arbitrary precision decimals? I’m looking for functionality similar to the `bigdecimal` package in Rust: [bigdecimal - Rust](https://docs.rs/bigdecimal/latest/bigdecimal/)

---

<div class="post-metadata">

**Author:** ![claudio](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/claudio/32/322_2.png) [@claudio](https://forum.dfinity.org/u/claudio)\
**Post date:** [July 10, 2023, 1:55pm UTC](https://forum.dfinity.org/t/bigdecimal-support/21271/2 "2023-07-10T13:55:52Z")

</div>

Not that I’m aware off.
