I am making a calculator type app where both types...
# getting-started
r
I am making a calculator type app where both types of numbers need to be accepted and treated the same way
j
Until unions are finished you can use sealed classes or sealed interfaces
y
You can take a look at the abstract Number class. See: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/