yamin8000 / PrettyPersianNumbers

PrettyPersianNumbers is an Android library to convert a number to a word for Persian/Farsi using Kotlin/JVM
GNU General Public License v3.0
40 stars 3 forks source link

compbility with kmp #72

Open abbasalim opened 1 month ago

abbasalim commented 1 month ago

سلام. ممنون از کتابخونه خوبتون. لطفا امکان سازگاری با کاتلین مولتی پلتفرم هم اضافه کنید.

yamin8000 commented 1 month ago

سلام. ممنون از کتابخونه خوبتون. لطفا امکان سازگاری با کاتلین مولتی پلتفرم هم اضافه کنید.

This library relies on Java's BigInteger and BigDecimal specific to JVM. Some incomplete libraries support them on other platforms but none are complete enough. https://github.com/Crossoid/Kotlin-Native-BigDecimal https://github.com/kmulti/kmulti-bignumber https://github.com/ionspin/kotlin-multiplatform-bignum and more here: https://youtrack.jetbrains.com/issue/KT-20912 I would rather use an implementation of BigInteger and BigDecimal by JetBrains instead of a third-party library.