|
dcb Novice
Joined: 02 Sep 2004 Posts: 42
|
Posted: Wed Oct 06, 2004 7:42 pm
help with a little math functionality |
I'd like to know if this is possible.
mud output is as follows
There was a total of 1302832 coins earned. We each made a total of 651416 coins this run.
I'd like the mud output to dislplay comma's in the correct locations listed below.
There was a total of 1,302,832 coins earned. We each made a total of 651,416 coins this run.
Is this possible? |
|
|
|
Rorso Wizard
Joined: 14 Oct 2000 Posts: 1368
|
Posted: Wed Oct 06, 2004 7:56 pm |
Try:
#TRIGGER {There was a total of (%d) coins earned. We each made a total of (%d) coins this run.} {
#psub %format( "&.0n", %1) %x1
#psub %format( "&.0n", %2) %x2
} |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|