Skip to content

Instantly share code, notes, and snippets.

@koifish082
Last active March 28, 2018 01:37
Show Gist options
  • Save koifish082/f0f4e54d0f1faeceb268bfb75c1aee0d to your computer and use it in GitHub Desktop.
Save koifish082/f0f4e54d0f1faeceb268bfb75c1aee0d to your computer and use it in GitHub Desktop.
Kotlin - cast to String
val milliSec: Int = getMilliSec()
val milliSecStr: String = milliSec.toString()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment