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
Selrach
Newbie


Joined: 14 Jan 2012
Posts: 8

PostPosted: Wed Jan 28, 2015 5:42 am   

Database Number Field Maximum Value
 
Am wondering if there's any method to increase the maximum value for the number field beyond 999,999.
I'm trying to store numbers which can be as large as 30 million, however the max it allows is 999,999.. that said, I have it storing numbers higher than 10 million, it's just if I access the individual record, it changes the values for that record down to 999.999.. viewing them on the list though seems to be fine and the value saves through closing the database/client. the only issue is what the client allows the maximum to be set to.
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4672
Location: Pensacola, FL, USA

PostPosted: Wed Jan 28, 2015 6:12 am   
 
maybe change the field into a string and convert it back to a number as needed?
_________________
Discord: Shalimarwildcat
Reply with quote
Selrach
Newbie


Joined: 14 Jan 2012
Posts: 8

PostPosted: Wed Jan 28, 2015 6:42 am   
 
Yeah.. I've considered doing that, but have been leaving it as the last resort, as I dislike storing numbers as strings. =/
If no other alternative presents itself though, I guess I'll have to. *shrug*
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