Does anyone know how to make price in flynax show:
$1,000 shows as $1k
or $1,500 shows as $1.5k
$1,000,000 shows as $1m
$1,500,000 shows as $1.5m
Similarly to billion
$1,000,000,000 shows as $1b
Does anyone know how to make price in flynax show:
$1,000 shows as $1k
or $1,500 shows as $1.5k
$1,000,000 shows as $1m
$1,500,000 shows as $1.5m
Similarly to billion
$1,000,000,000 shows as $1b
Any clue how to?
I found this script but have no idea how to implement it to flynax price. Have tried a few methods but no luck so far
http://numeraljs.com/
Any idea guys,
How to use this script for flynax price?
http://numeraljs.com/
Seems quite a large script just to change the way currency displays, best way i would have thought is just set up a php function and call that
something like:
function numDifferentiation(val) {
if(val >= 1000) val = (val/1000).toFixed(2) + ' K';
return val;
}
I'm still looking for this. Please help
Hello Wei,
It is not so difficulty but what should show it price will be $1525 - $1.5k, $1,530,000 - $1.5m or some other format? Would you please explain better?
Viktor,
Flynax technical department,
Best wishes.