,Playing A Backwards Walking Animation

I have a backwards walking animation the only problem is my speed float is always positive everytime I print it to the screen. Is there an easy way to have it be negative if the player is moving backwards?