Randomly set an integer as positive or negative?

So I’m working on a simple shooter, and I have a speed integer for my hazards. I would like to have the script randomly set the speed integer as positive or negative when the hazard first spawns, so that the hazards will move in different directions (I’m using transform.forward and transform.right * Speed for this). How would I have the speed value do this?

You can multiply your integer by the following code, which randomly returns -1 or 1


as per @Bunny83 's answer: