How do I make abbreviated numbers???

Hey, I'm making a project on Scratch that is a clicker game, all you need to know is that it's about apples.

Anyways, so I have pretty much the entire UI done, I'm just having trouble with the code for the apple/money counter (TwT)

Can someone tell me how to do the code for the number actor so it shows up on top of the screen abbreviated? By abbreviation I mean k, m, b, t, qd, qi, sx, sp, oc, no, dc and so on.

Please and thank you in advance :D