Floating Point in Kotlin
Level 116 keystrokes
Prints a floating-point number to the console.
Kotlin code
// A literal with a decimal point is a Double by default// println prints 3.141591println(3.14159)Output
3.14159
Practice typing this code. Results are not recorded in the rankings.
Symbols in this code
The symbols you type in this Kotlin code and how often they appear.
.× 1(× 1)× 1