This comes up fairly often. There are a lot of examples around.
Here’s a basic example. It works up to t for trillions. For 64bit numbers you’d need a list of about 100 suffixes or you could come up with a way to automate it.
n = int(Log10(value)/3)
Set text to int(value/10^(3*n)) &tokenat(“,k,m,b,t”, n, “,”)