I'm new to PHP and I've been learning about operators. I understand that operators can be used to perform calculations or comparisons on numbers, but I'm wondering if they can also be used on floating-point numbers.
I have a specific calculation in mind where I need to use floating-point numbers, and I'd like to know if PHP supports this. Can I use operators like addition, subtraction, multiplication, and division to perform calculations on floating-point numbers?
Additionally, I'm interested in understanding how comparisons work with floating-point numbers. Can I use operators like greater than, less than, equal to, etc. to compare floating-point numbers in PHP?
I appreciate any guidance or insights you can provide. Thank you!