"endless" numerical prefix

(reposted because i accidentally posted unfinished thread)
i once made a thread about converting number/integer into prefix here but no one responded it

so i spent some time figuring how to implement that. till this day i finally figured and made it, despite a little know about numerical prefix

this is my outcome:


image version:
image

things i noticed:

  • as the title has a quote for “endless” word, it means that numerical prefix is not confirmed to be infinite. instead if the value exceeds over 999, it will return “MAXIMUM” string
  • the prefix of value 16 is supposed to be “SEDECA”, but instead ended up returning the same prefix as value 6. this is due to how the system works

any feedback is welcome here

1 Like

this is cool but I would’ve used a for loop instead of a while loop, a while loop isn’t really needed

Lol that looks scary. Cool creation btw!

i used while loop to make a demo for numerical prefix. yet it was still the same as for loop so i dont see it wrong here

my point is that for loops are made to do stuff like this
I never said while loops don’t work, just saying a for loop is better practice in this use case