Format number - 1.5M instead of 1500000

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Format number - 1.5M instead of 1500000

apprentice
How do I format numbers by their significant figures e.g. 48469943 would be rounded to 48.5M (M to indicate million),  150,500 would be 150.5K etc