mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-13 18:24:39 +02:00
Add example of an int is divided by a double (#2284)
This commit is contained in:
@@ -88,6 +88,7 @@ true == false // false
|
||||
6 / 2 // 3
|
||||
6 / 4 // 1
|
||||
6.0 / 4 // 1.5
|
||||
6 / 4.0 // 1.5
|
||||
|
||||
|
||||
// Evaluating an expression in the REPL gives you the type and value of the result
|
||||
|
Reference in New Issue
Block a user