HP Prime: Base 10 - Base 12 Conversions
|
01-31-2017, 04:20 AM
Post: #1
|
|||
|
|||
HP Prime: Base 10 - Base 12 Conversions
Conventions:
X = 10 E = 11 (notation by William A. Dwiggins) HP Prime Program DEC2DUO Enter the integer as a number. Code: EXPORT DEC2DUO(n) Example: Convert 12501 from Base 10 to Base 12 DEC2DUO(12501) returns “7299” HP Prime DUO2DEC Enter the integer as a string, use X for 10 and E for 11 Code: EXPORT DUO2DEC(str1) Example: Convert X2X3 from base 12 go base 10 DUO2DEC(“X2X3”) returns 17691 |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)