Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
olmec
Beginner


Joined: 03 Mar 2009
Posts: 11

PostPosted: Mon Apr 06, 2009 12:35 pm   

Formatting a number
 
Hi, a quick question

i would like to format the number : 3402210 to something readable :
3402210 = 3 402 210

Is there a function to it easily? Thanks, olmec
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Mon Apr 06, 2009 12:42 pm   
 
%format("&.0n",3402210)
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
olmec
Beginner


Joined: 03 Mar 2009
Posts: 11

PostPosted: Mon Apr 06, 2009 1:45 pm   
 
Thanks Very Happy Working great!
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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

© 2009 Zugg Software. Hosted by Wolfpaw.net