Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9284981
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T19:02:24+00:00 2026-06-18T19:02:24+00:00

Outside the binary 01010 , octal 01122 , decimal integer 1234 and hexadecimal 0xFF

  • 0

Outside the binary 01010, octal 01122, decimal integer 1234 and hexadecimal 0xFF, does any one have any idea or trick how to build a new number format? For example, 0x11AEGH has it’s range from 0 – 9 to A – H. I’m going to build password generator, so it would be very helpful if anyone can put something on it that might help.

Firstly, Is there any function which can do this? Basically I want to convert 0x11AEGH to binary, octal, integer and so on…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T19:02:25+00:00Added an answer on June 18, 2026 at 7:02 pm

    Formatting a number in an N-ary system requires two things: an alphabet, and an ability to obtain results of integer division + the remainder.

    Consider formatting a number in a base-26 system using the Latin alphabet. Repeatedly obtain the remainder R of division by 26, pick letter number R, and add it to the front of the number that you are formatting. Integer-divide the number by 26, and use it in the next step of the algorithm. Stop when you reach zero.

    For example, if you print 1234 in base-26, you can do it like this:

    • 1234 % 26 is 12. Add M; 1234/26 is 47
    • 47 % 26 is 21. Add V; 47 / 26 is 1
    • 1 % 26 is 1. Add B. 1 / 26 is zero; stop.

    So 1234 in base-26 is BVM.

    To convert back, start from the front, and sequentially subtract the designated “zero” (A in case of the above example) from each digit, like this:

    • B–A is 1. Result is 1
    • V–A is 21. Result is 1*26+21, which is 47
    • M–A is 12. Result is 47*26+12, which is 1234.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

By outside, I want solutions that does not use Vim's scripting hacks but try
I have an outside div, inside this is a lot of P elements and
I'm outside gdb's target executable and I don't even have a stack that corresponds
I have an array outside: $myArr = array(); I would like to give my
I have a binary log file with streaming data from a sensor (Int16). Every
I have a Binary-Tree class template with several public and private member functions. When
I'm using Active Record outside of rails and I have two AR classes similar
I have rewritten the Binary Search Tree code found in the following links to
I have a binary tree, that I am searching: TreeNode<Vessel*>* node = this->tree_->search(PotatoFace); string
I have a launcher application in a bundle in /Applications that chooses a binary

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.