extensions icon indicating copy to clipboard operation
extensions copied to clipboard

AD notation for "Format Numbers" extension is inaccurate.

Open rb-f opened this issue 1 month ago • 2 comments

Hello, I'm ten_6044 from Scratch.

In the "format numbers" extension, when converting to AD standard, numbers less than 10^36 work as intended. However, once it reaches 10^36, it sounds incorrect.

Expected Result

If you format number 10^33 to AD standard, it returns 1Dc, meaning 1 decillion. If you format number 10^36 to AD standard, it should return 1UDc, meaning 1 undecillion.

Actual Result

If you format number 10^33 to AD standard, it returns 1Dc, meaning 1 decillion. If you format number 10^36 to AD standard, it instead returns 1 DcD (1 duodecillion), which is supposed to be 1UDc.

So it turns out that the "-illion" value is off by one, and the order of the words are not in order. After 1 decillion (1Dc) is 1 undecillion (1UDc), not 1 DcD.

Duodecillion is actually DDc, not DcD.

Additionally, quindecillion (should be 10^48, but yielded at 10^45) is DcQt, which is unconventional because "quindecillion" does not contain the letter "T." It is supposed to say "QnDc".

Proof

Image

rb-f avatar Nov 17 '25 10:11 rb-f

@DogeisCut looks like your bug

GarboMuffin avatar Nov 18 '25 01:11 GarboMuffin

Will get to it as soon as I can!

DogeisCut avatar Nov 18 '25 04:11 DogeisCut

Can reproduce.

PPPDUD avatar Nov 18 '25 16:11 PPPDUD