Looking for number formating extension

Is there any extension, that can represent number at the below format

1000= 1k
3500000= 3.5m

Is there any extension plz provide me

It can be done with blocks easily but if you want an extension maybe this might help

1 Like

formating number with java

here is :

num1 = 123456789;
output1 = num1.toLocaleString(β€˜en-US’);
document.all[0].innerText,output1


here is local arabic number if using arabic keyboard

code:
num1 = 123456789;
output1 = parseInt( num1 ).toLocaleString() ;

document.all[0].innerText,output1