A
A
Alexander Tishchenko2020-04-20 13:34:56
PHP
Alexander Tishchenko, 2020-04-20 13:34:56

How to shorten long numbers?

Hello.

When the site has a lot of views or likes, for example, the number "10 489" comes out, how to do something instead of such a number there was a number and a letter, for example: "10k", "100m".
Thank you all in advance)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Huk, 2020-04-20
@Sasha_Odesskiy

Look here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question