mIRC Homepage
Posted By: westor $sort or something like this - 17/02/13 01:39 PM
Hello,

I request to add into mIRC an identifier that will do something like this.

$sort(2000,f)

OUTPUT: 2.000

$sort(2000,c)

OUTPUT 2,000

In sample words to put an comma or full stop into given numbers, the f into full stop and c in commas.

an other example

$sort(1000000,c)

OUTPUT 1,000,000

$sort(1000000,f)

OUTPUT 1.000.000

- Thanks!
Posted By: 5618 Re: $sort or something like this - 17/02/13 02:18 PM
A comma separation between thousands can already be done using $bytes(<number>,bd).
These can subsequently easily be replaced by full stops, or commas in the case of decimals.
Posted By: westor Re: $sort or something like this - 17/02/13 04:45 PM
Yes thats helped. ty!
© mIRC Discussion Forums