Questions tagged [hexavigesimal]

A hexavigesimal numeral system has a base of twenty-six.

A hexavigesimal numeral system has a base of twenty-six. Alternatively, base-26 may be represented using only letters of the Latin alphabet. As there are 26 letters in English, base-26 is also the highest base in which this is possible and hence utilizes every letter. 0 is represented by A, 1 = B, 2 = C ... 24 = Y, 25 = Z. Excel uses it to as column names.

5 questions
8
votes
7 answers

How to create a function that converts a Number to a Bijective Hexavigesimal?

Maybe i am just not that good enough in math, but I am having a problem in converting a number into pure alphabetical Bijective Hexavigesimal just like how Microsoft Excel/OpenOffice Calc do it. Here is a version of my code but did not give me the…
A. K. Tolentino
  • 2,112
  • 3
  • 25
  • 33
4
votes
3 answers

Wanted: xsl:template that converts a node to its hexavigesimal value?

I can almost here you say: "What the @##$# is a hexavigesimal value?" A hexavigesimal numeral system has a base of twenty-six. Alternatively, base-26 may be represented using only letters of the Latin alphabet. As there are 26 letters in…
Kees C. Bakker
  • 32,294
  • 27
  • 115
  • 203
2
votes
5 answers

convert number to combination of letters

I need to convert a number between 1 and 6000000 to a letter combination like ABCDE. Less letters is better. but i'm guessing i will need 4 or 5. Can someone point me in the right direction as how to write an algorithm to convert numbers to letters…
Jeroen
  • 4,023
  • 2
  • 24
  • 40
2
votes
3 answers

How do I convert a Base 20 number to decimal?

Can't find a good example anywhere. How do I convert a Base 20 number to decimal? I'm working with vigesimal numbers. I know how to convert from Vigesimal to decimal, that part is easy. But I'm trying to convert from Vigesimal back to decimal…
user3325915
0
votes
1 answer

Elegant Way Of Accounting For "A" When Converting Strings To 26-Ary And Back?

I need to convert strings to 26-ary and then be able to convert them back. My current code is: (define (26-ary-word s) (let ([len (string-length s)]) (let f ([n 0] [acc (+ (- (char->integer (string-ref…
JimmyM
  • 360
  • 3
  • 20