You probably meant something like:
int(var/10^12)&”.”&zeropad(int(var/10^9)%1000, 3)&”T”
But you could also do the same thing with:
int(Var/10^9)/1000&”T”
You could also do it like this to handle thousands,millions,billions,trillions,etc all at once:
K= min(4, int(log10(var)/3))
int(var/10^(3*k-3))/1000&tokenat(“,k,m,b,t”, k,”,”)
If you have more suffixes you’d add them to the token at portion. I just used 4 suffixes, hence the 4 in the min().