tcl.rtd
Converts radix to decimal.
Syntax
rtd {radix} number
Description
converts a radix (base) number to its decimal integer equivalent and displays the result. If the radix is omitted, a radix of 16 is assumed, and this behaves like the 'xtd' command, converting hexadecimal to decimal.
Example
rtd 2 1000
8
This converts the (binary - base 2) number 1000 to its decimal equivalent of 8.
See Also
User Comments
What do you think?
Share your experience or ask a question by using the form below.
Login to leave your comments.
