Skip to content

Instantly share code, notes, and snippets.

@Concers
Created February 17, 2020 22:06
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 Concers/8de63938a24989219b3f7ae6095f6b42 to your computer and use it in GitHub Desktop.
Save Concers/8de63938a24989219b3f7ae6095f6b42 to your computer and use it in GitHub Desktop.
val Byte:Byte = 2
val short:Short = 3566
val int:Int = 655_546
val long:Long = 8449_6664_6115_9987
val long3:Long = 8449L
val Byte2 = 2 // Int
val short2 = 3566 // Int
val int2 = 655_546 //Int
val long2 = 8449L // Long
println("Byte : $Byte - Short : $short Int : $int Long : $long Long3 : $long3")
println("Byte2 : $Byte - Short2 : $short2 Int2 : $int2 Long2 : $long2 Long3 : $long3")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment