Implicit type conversion: Difference between revisions
Content added Content deleted
m (→{{header|REXX}}: separated documentation from the REXX program.) |
m (→{{header|REXX}}: added an output section.) |
||
Line 868: | Line 868: | ||
a=12345678912 ; say a /* 123456789012 */ |
a=12345678912 ; say a /* 123456789012 */ |
||
a=12345678912 ; b=0 ; x=a+b ; say x /* 1.23456789E+10 */</lang> |
a=12345678912 ; b=0 ; x=a+b ; say x /* 1.23456789E+10 */</lang> |
||
'''output''' |
|||
<pre> |
|||
9 |
|||
.1.2...$ |
|||
7 |
|||
+66 |
|||
- 66. |
|||
-66 |
|||
-66 |
|||
66 |
|||
3.000 |
|||
3 |
|||
5 |
|||
35 |
|||
1E3 |
|||
1e+003 |
|||
1E+003 |
|||
1000 |
|||
12345678912 |
|||
1.23456789E+10 |
|||
</pre> |
|||
=={{header|Tcl}}== |
=={{header|Tcl}}== |