Anonymous user
Implicit type conversion: Difference between revisions
Scala contribution added.
(Scala contribution added.) |
|||
Line 954:
</pre>
=={{header|Scala}}==
See the section [https://docs.scala-lang.org/tour/implicit-conversions.html Tour of Scala about impplicit conversions.]
=={{header|Sidef}}==
Since version 3.00, all the number types (int, rat, float and complex) are unified in the ''Number'' class and all the needed conversions are done implicitly. Methods from other classes also make implicit conversions where possible.
|