(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:
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
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