Php if usm is negative

Hello forums

How do you do an IF if the sum is negative something like:

$sum = -12;

if ($sum = negative){

echo ‘It is negatvie’;
}else{

echo ‘it is positve’;
}

Thanks

if ($sum < 0)

Oh Jeez my mind must have stopped working tnx starLion