Why toDouble() or even toInt() functions not available in android studio (kotlin)? Do I have to import a specific file to make them available?
What makes you think those functions are not available? Can you provide a simple code example?
Are you using them on some var that have the right explicit type specification? if your variable 2 you are looking for is supposed to be a String, and you convert variable 1 toInt or toDouble, then it might not be available??