Non-decimal radices/Output: Difference between revisions
Content added Content deleted
(Added Algol W) |
No edit summary |
||
Line 1,462: | Line 1,462: | ||
66 in decimal is 1000010 in binary 42 in hexadecimal B in base256. |
66 in decimal is 1000010 in binary 42 in hexadecimal B in base256. |
||
67 in decimal is 1000011 in binary 43 in hexadecimal C in base256. |
67 in decimal is 1000011 in binary 43 in hexadecimal C in base256. |
||
</pre> |
|||
=={{header|Ring}}== |
|||
<lang ring> |
|||
# Project : Editing Non-decimal radices/Output |
|||
# Date : 2017/09/15 |
|||
# Author : Gal Zsolt (~ CalmoSoft ~) |
|||
# Email : <calmosoft@gmail.com> |
|||
see string(0) + nl |
|||
see string(123456789) + nl |
|||
see string(-987654321) + nl |
|||
see upper(hex(43981)) + nl |
|||
see upper(hex(-1)) + nl |
|||
</lang> |
|||
Output: |
|||
<pre> |
|||
0 |
|||
123456789 |
|||
-987654321 |
|||
ABCD |
|||
FFFFFFFF |
|||
</pre> |
</pre> |
||