mIRC Home    About    Download    Register    News    Help

Topic Options
#240586 - 17/02/13 01:39 PM $sort or something like this
westor Offline
Hoopy frood

Registered: 27/12/08
Posts: 1511
Loc: Greece
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!


Edited by westor (17/02/13 01:44 PM)
_________________________
Need Online mIRC help or an mIRC Scripting Freelancer? -> http://westor.ucoz.com/contact <-

Top
#240587 - 17/02/13 02:18 PM Re: $sort or something like this [Re: westor]
5618 Offline
Hoopy frood

Registered: 18/06/07
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.

Top
#240589 - 17/02/13 04:45 PM Re: $sort or something like this [Re: 5618]
westor Offline
Hoopy frood

Registered: 27/12/08
Posts: 1511
Loc: Greece
Yes thats helped. ty!
_________________________
Need Online mIRC help or an mIRC Scripting Freelancer? -> http://westor.ucoz.com/contact <-

Top