Posted in number formatting
3251014
5:27 am, December 5, 2022
 

restyle and shorten number

Format a number 1k 1mil etc

Takes a number like 1000000 and converts it into 1mil. I also have a version of this that adds an abbr tag to the output in case you want to see the exact value. 

1mil, 1k, 1bil, etc

Random Number 1 : 4123Random Number 2 : 353144Random Number 3 : 9153219
add number

Result

The number 9231578 converted is 9mil+

No Items Found.

Add Comment
Type in a Nick Name here
 
IP Address Lookup Geo Location
generate date time id stamp
restyle and shorten number
Return a file extention from a string
create a unique id from a html string
calculate a percentage difference based on two numbers
Generate a Random Username - Version 1
Other Items in number formatting
Search Utilities
Search Utilities by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code here, mostly for my reference. Also if i find a good link, i usually add it here and then forget about it. more...

Subscribe to weekly updates about things i have added to the site or thought interesting during the last week.

You could also follow me on twitter or not... does anyone even use twitter anymore?

If you found something useful or like my work, you can buy me a coffee here. Mmm Coffee. ☕

❤️👩‍💻🎮

🪦 2000 - 16 Oct 2022 - Boots
Random Quote
The problem with hoarding is you end up living off your reserves. Eventually, you’ll become stale. If you give away everything you have, you are left with nothing. This forces you to look, to be aware, to replenish. . . . Somehow the more you give away, the more comes back to you.
Paul Arden
Random CSS Property

pad

The pad descriptor can be used with custom counter style definitions when you need the marker representations to have a minimum length.
pad (@counter-style) css reference