Had a php float value that I needed to use as a string, so I typecasted it.
Later on in the code I need the value again but now it was a string.

Typecasted it back to a floating point.

My colleague almost killed me when he found out what caused the miscalculations.

Add Comment