I can't give you exact code but it would be along the lines of
if amount >= 1000000000
then display (amount / 1000000000) + "B"
elseif amount >= 1000000
then display (amount /1000000) + "M"
elseif amount <1000000
Display amount
sorry im not much more help





