I was attempting to find if the result of a calculation returned a number with any decimals. So, I was doing something like: To my surprise the code above returns: ‘has decimals’ If you do the math in any calculator the result of 123.1/0.1=1231 and in fact that is what PHP displays when you do: […]
Categories