We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d529b9d commit 42087a9Copy full SHA for 42087a9
_tour/unified-types.md
@@ -57,6 +57,8 @@ true
57
Value types can be cast in the following way:
58
<a href="{{ site.baseurl }}/resources/images/tour/type-casting-diagram.svg"><img style="width:100%" src="{{ site.baseurl }}/resources/images/tour/type-casting-diagram.svg" alt="Scala Type Hierarchy"></a>
59
60
+Note that `Long` to `Float` conversion is deprecated in new versions of Scala, because of the potential precision lost.
61
+
62
For example:
63
64
{% tabs unified-types-2 %}
0 commit comments