Common problems I was looking for and reading and still stuck.
I have a trading table where the trading price is declared as a float. I can not use the decimal place, because different stocks have different accuracy in price.
If you look at the table through phpMyAdmin, all the numbers look correct - since they were inserted, as you can see in the screenshot below, the price (p) is 0.709, which is correct.

But when I select this deal from the table using the usual zend framework, I get a price of 0.70899999141693
How to make a choice that works the same way as choosing MyAdmin? And get the number with the right accuracy? If myAdmin does the job, it might be possible in zend, am I right ?
EDIT: I cannot use ROUND , and I cannot use DECIMAL because I do not know the correct precision. for example, the price of Apple has 2 decimal values exactly, but the price of VTB Bank has 6 decimal values exactly
EDIT2: The following are examples of the same choices in myAdmin and zend.
Trade 8838397 was made at a price of 0.01156. I inserted it into the database and what I get in myAdmin:

If I select it with php, I get the following:

I assume that myAdmin somehow guesses the accuracy and does it really well. How???
source share