diff options
author | Felipe Martins <me@fefas.net> | 2016-06-21 18:20:59 -0300 |
---|---|---|
committer | ven <vendethiel@hotmail.fr> | 2016-06-21 23:20:59 +0200 |
commit | 7895dcc6043d9229b593516ebf17cca08a515227 (patch) | |
tree | d3a249f602ebda1492eaa9badb9241f05cb1f388 | |
parent | eaf0307775733fddebe308a5a98b7b386f3820cf (diff) |
Add example of an int is divided by a double (#2284)
-rw-r--r-- | scala.html.markdown | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scala.html.markdown b/scala.html.markdown index 745605ed..7f5f0ec3 100644 --- a/scala.html.markdown +++ b/scala.html.markdown @@ -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 |