In VBScript I’m looking for a function that will return the numbers in the format 1000s or if 1000,000 or greater in millions as follows:
x = 100,000 then return 100k
y = 500,000 then return 500k
z = 5,000,000 then return 5m
q = 25,000,000 then return 25m
Where x, y, z, q are integers.
@van: Working example —