I have a few floats:
-4.50 +6.25 -8.00 -1.75
How can I change all these to negative floats so they become:
-4.50 -6.25 -8.00 -1
re the edit: "Also i need a way to do the reverse If the float is a negative, make it a positive"
$number = -$number;
changes the number to its opposite.