Does anyone knows how to make "custom numbers"

I am trying to make clicker game but when float number gets to big i just crashes and numbers like “39867853894503485673980453873458976” don’t look to good so i am asking how to make numbers work like i other clicker games I mean like 1M and then later 1B and 1T and so on. How do i make this can someone help.
1000 = 1k
1100 = 1.1k
10000 = 10k
1000000 = 1m
1150000 = 1.15m
etc.

It’s smoke and mirrors - divide it and add a letter.

2 Likes