mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-23 06:03:07 +03:00
Add example of an int is divided by a double (#2284)
This commit is contained in:
parent
eaf0307775
commit
7895dcc604
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user