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.
Hi
For the coin which is written on the other side
Example
1,000 Da shows as 1k Da
or 1,500 Da shows as 1.5k Da
1,000,000 Da shows as 1m Da
1,500,000 Da shows as 1.5m Da
Similarly to billion
1,000,000,000 Da shows as 1b Da