mIRC Home    About    Download    Register    News    Help

Print Thread
$sort or something like this #240586 17/02/13 01:39 PM
Joined: Dec 2008
Posts: 1,511
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,511
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!

Last edited by westor; 17/02/13 01:44 PM.
Re: $sort or something like this [Re: westor] #240587 17/02/13 02:18 PM
Joined: Jun 2007
Posts: 933
5
5618 Offline
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
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.

Re: $sort or something like this [Re: 5618] #240589 17/02/13 04:45 PM
Joined: Dec 2008
Posts: 1,511
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,511
Yes thats helped. ty!