Implicit type conversion: Difference between revisions

m
Line 655:
 
=={{header|Julia}}==
In general, Julia will promote a smaller sized datatype to a larger one when needed for a calculation involving mixed datedata types. Julia also accepts type annotations on variable declarations as shown below, though such type declarations are usually only allowed for variables that are declared within a function.
<lang julia>
julia> function testme()
4,103

edits