Hello! I'm not sure if this has been asked before ...
# announcements
m
Hello! I'm not sure if this has been asked before but I have found few issues on YouTrack but they haven't really gone further than just that. Anyways, currently in Kotlin there is no way to assign integer value to Double type variables or use integer in place where Double is expected instead you have to explicitly add a decimal point. Is there anything planned regarding this or is this open for contributors maybe?
g
It’s intended behaviour, Kotin type system is designed to be explicit to avoid usual auto conversion pitfalls
m
Oh, I see. Thanks for the reply! I guess that clears up everything for me
g
There are also a few discussions about it on kotlin forum