How to display 9,999,999 as 9999K?

The left chop helped me. It allowed me to cut off the maximum limit of integer type which is 2,147,483,647, and make it appear as 2147M. for the fast answer I hope this helps other people too.