Jump to content
MakeWebGames

Need Help


Miniman
 Share

Recommended Posts

Ok, So i've been trying for a while now and can't get this to work....I need help :|

I have the stockmarket, But I don't want it adding by so much each time, I want it to add by random decimal numbers.

I've tried stuff like rand (0.001,5.912) But that didn't work and I've set the DB to Decimal 11,3.

So is there any way for me to update the stocks in the DB to a random decimal? I need 3 decimal places...

If anyone can help, Thank's alot :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...