So I was made an abbreviation system that worked almost perfectly, the main problem is that it rounds up which I don’t want.
For example: 1.045M would be 1.05M if I only included the last two decimals.
My idea is to use 3 decimals after but get rid of the last character in the string before it’s returned, but I’m not sure how to do so.
Here’s the line in my module script that abbreviates the number if it helps:
returningNumber = string.format("%.3f", rounded / 10 ^ (digits - 1)) .. chosenAbbreviation