ehsan parizi Posted February 20, 2011 Share Posted February 20, 2011 Does anybody know an expression to get random + and - from? Quote Link to comment Share on other sites More sharing options...
Macha Posted February 20, 2011 Share Posted February 20, 2011 One idea (-1)^round(rand($F)) 1 Quote Link to comment Share on other sites More sharing options...
envil Posted February 20, 2011 Share Posted February 20, 2011 fit01(rand($F),-1,1) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.