I'm looking for a way of taking a number between 0-10000000 an shortening it to only show the first 3 digits, then a letter representing the rest, i.e. 9804432 will be 9.80m (or 9.8m), 435432 will be 435k, and 4213 would be 4.21k, what is a good way to go about doing so?
Thanks.
Thanks.