Skip to content

Instantly share code, notes, and snippets.

@rail-rate
Created June 16, 2019 00:58
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/fd0184e1d2486b6b1589ff3529eb7821 to your computer and use it in GitHub Desktop.
Save rail-rate/fd0184e1d2486b6b1589ff3529eb7821 to your computer and use it in GitHub Desktop.
浮動小数点型3
fun main(args: Array<String>) {
val number1 = 1.23456789
println(number1)
val number2 = 1.23456789f
println(number2)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment