Command Line Number Conversion
Tags:
How To Convert Numbers to Decimal on the Command Line: ------------------------------------------- to convert HEX to decimal: echo "ibase=16; 38E" | bc (where ibase is the number base, for HEX, 16 and the number following the ; is the number you wish to convert) For Octal, change the ibase to 8, for Binary, change the ibase to 2.
»
- Add new comment
- 1802 reads
