in reply to Negating a number

$x = $x * (-1); or $x *= -1;


holli

When you're up to your ass in alligators, it's difficult to remember that your original purpose was to drain the swamp.