actionscript 3 - 1000 to 1k, 1000000 to 1m etc. number abbreviation -
how can have 1000 convert 1k or 1200 1.2k? there's other solution other programming language can't figure out how make work as3.
or there shorter way rather if number > 1000 make 1k?
couldn't this
var numink = bignumber/1000 + "k";
maybe throw in math.round or other checks avoid ridiculous numbers 3.3333333k
Comments
Post a Comment