Non-decimal radices/Input: Difference between revisions
Content added Content deleted
m (forgot decimal) |
|||
Line 697: | Line 697: | ||
=={{header|Phix}}== |
=={{header|Phix}}== |
||
<lang Phix>?scanf(" |
<lang Phix>?scanf("1234","%d") |
||
?scanf("0b10101010","%d") |
|||
?scanf("#ABCD","%d") |
?scanf("#ABCD","%d") |
||
?scanf("#FFFFFFFF","%f") |
?scanf("#FFFFFFFF","%f") |
||
Line 704: | Line 705: | ||
{{out}} |
{{out}} |
||
<pre> |
<pre> |
||
{{1234}} |
|||
{{170}} |
{{170}} |
||
{{43981}} |
{{43981}} |