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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
doggy
Newbie


Joined: 26 Apr 2004
Posts: 1
Location: Norway

PostPosted: Mon Apr 26, 2004 1:39 am   

%format problem
 

I cant get the %format work correct in zmud 7.05.

#math fkxpperhour %format( 2, @kxpperhour)

this gives me the variable of fkxpperhour to a value of nothing.
and kxpperhour has a number with a bunch of decimales.
if you understand what i mean.

this works in other zmud versions, wonder if it has been changed any?
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Mon Apr 26, 2004 2:20 am   
 
I have NO clue what this is trying to do........... #MATH is for well Math and as it is I dun see any math....
Maybe you mean to do this
#VAR fkxpperhour %format(2,@kxpperhour)
to change the variable fkxpperhour to a floating point number with 2 decimal places......
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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