# Rename the BigInt to BigNumber to be more consistent with the Number data type

**URL:** <https://es.discourse.group/t/rename-the-bigint-to-bignumber-to-be-more-consistent-with-the-number-data-type/1485>\
**Category:** 💡 Ideas\
**Tags:** proposal\
**Created:** [October 8, 2022, 7:56pm UTC](https://es.discourse.group/t/rename-the-bigint-to-bignumber-to-be-more-consistent-with-the-number-data-type/1485 "2022-10-08T19:56:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kokabi1365](https://yyz2.discourse-cdn.com/free1/user_avatar/es.discourse.group/kokabi1365/32/1523_2.png) [@kokabi1365](https://es.discourse.group/u/kokabi1365)\
**Post date:** [October 8, 2022, 7:56pm UTC](https://es.discourse.group/t/rename-the-bigint-to-bignumber-to-be-more-consistent-with-the-number-data-type/1485/1 "2022-10-08T19:56:14Z")

</div>

Would it not be better if the `BigInt` were renamed to `BigNumber` to be more consistent with the `Number` data type?

---

<div class="post-metadata">

**Author:** ![bergus](https://yyz2.discourse-cdn.com/free1/user_avatar/es.discourse.group/bergus/32/152_2.png) [@bergus](https://es.discourse.group/u/bergus)\
**Post date:** [October 8, 2022, 8:26pm UTC](https://es.discourse.group/t/rename-the-bigint-to-bignumber-to-be-more-consistent-with-the-number-data-type/1485/2 "2022-10-08T20:26:19Z")

</div>

No. `BigInt` represents only integers, whereas `Number` represents floating point numbers (including those with decimal points).  
There could also be a [limited-size `Integer` datatype](https://esdiscuss.org/topic/proposal-for-new-floating-point-and-integer-data-types), as well as an arbitrary-precision `BigNumber`  
(or usually `BigDecimal`) datatype, but those are separate things.

---

<div class="post-metadata">

**Author:** ![ljharb](https://yyz2.discourse-cdn.com/free1/user_avatar/es.discourse.group/ljharb/32/8_2.png) [@ljharb](https://es.discourse.group/u/ljharb)\
**Post date:** [October 8, 2022, 8:37pm UTC](https://es.discourse.group/t/rename-the-bigint-to-bignumber-to-be-more-consistent-with-the-number-data-type/1485/3 "2022-10-08T20:37:31Z")

</div>

No, because the Number data type can represent, for example, `0.5`, which BigInt can't.

---

<div class="post-metadata">

**Author:** ![kokabi1365](https://yyz2.discourse-cdn.com/free1/user_avatar/es.discourse.group/kokabi1365/32/1523_2.png) [@kokabi1365](https://es.discourse.group/u/kokabi1365)\
**Post date:** [October 9, 2022, 6:27pm UTC](https://es.discourse.group/t/rename-the-bigint-to-bignumber-to-be-more-consistent-with-the-number-data-type/1485/4 "2022-10-09T18:27:27Z")

</div>

How could I be so careless?  
I'm thoroughly convinced that I made a big mistake.  
Thank you.
