Skip to content

Instantly share code, notes, and snippets.

@rail-rate
Created June 9, 2019 01:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rail-rate/d6a381496184c1ca26c80ee1b29ebf7e to your computer and use it in GitHub Desktop.
Save rail-rate/d6a381496184c1ca26c80ee1b29ebf7e to your computer and use it in GitHub Desktop.
整数型
fun main(args: Array<String>) {
val number1 : Int = 100000000
println(number1)
val number2 : Long = 2000000000
println(number2)
val number3 : Short = 30000
println(number3)
val number4 : Byte = 40
println(number4)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment