# Abstract operator methods for type Number

**URL:** <https://discuss.kotlinlang.org/t/abstract-operator-methods-for-type-number/25514>\
**Category:** Language Design\
**Created:** [August 22, 2022, 6:32pm UTC](https://discuss.kotlinlang.org/t/abstract-operator-methods-for-type-number/25514 "2022-08-22T18:32:34Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![arocnies](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/arocnies/32/5143_2.png) [@arocnies](https://discuss.kotlinlang.org/u/arocnies)\
**Post date:** [August 26, 2022, 8:48pm UTC](https://discuss.kotlinlang.org/t/abstract-operator-methods-for-type-number/25514/8 "2022-08-26T20:48:05Z")

</div>

Good point.

It has me considering what a `Number` type is in kotlin. and now I’d describe it as: “A number type is a type that can be converted (not perfectly) into an int, double, float, … etc”

I guess it you’d need a number type that can be converted to perfectly from all others to make any sense of it.

Also, here’s the link to more discussion [Kotlin Number class mystery - #8 by akurczak](https://discuss.kotlinlang.org/t/kotlin-number-class-mystery/22837/8)

I suspect this thread isn’t the last in the chain either ;D

---

_[View the full topic](https://discuss.kotlinlang.org/t/abstract-operator-methods-for-type-number/25514)._
