N
N
NoDeJs2292020-05-25 16:45:37
In contact with
NoDeJs229, 2020-05-25 16:45:37

How to make it so that the bot would separate the numbers with dots, for example On your bank 1.000.000?

I'm making a bot. And I would like to know how to make it separate numbers with dots?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
onzabr, 2020-05-25
@NoDeJs229

You can use toLocaleString :

let a = 135315198
a.toLocaleString()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question