Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Please read the forum rules before posting.



Check if you are posting in the correct category.



The Off Topic section is not meant for discussing Cookie Clicker.
⚠️ The DashNet forums will be shut down on September 12th 2019.⚠️

Please see here for more information.

How do I get a random number from a negative to a positive?

I'm currently making a weather generator and I need a random number between -30 to 30 for the temperature.

I've tried {-30-30}, does nothing.
I've also tried {0-60}-30 but that doesn't seem to work either.

Tks

Comments

  • FrancesFrances Posts: 5Member
    probably due to the - sign being used for something else. the only alternatives i can think of is [{0-30}|-{30-1}]
    or using fahrenheit (since most people on the internet are american anyway)
Sign In or Register to comment.