DEV Community

Discussion on: The round function and the 'negative zero.'

Collapse
 
david_j_eddy profile image
David J Eddy

You are not the only one who has seen PHP output -0 ;).

Sounds like a perfect situation to wrong up some unit tests to prevent regression later down the road.

RTFM gets me every time as well.