How to convert 1e-06 to 0,000001 model in Yii?
When writing to a table(field double) value 0,000001 in the field is a value of 1e-06.
When reading in a model obtained 1e-06, not 0,000001.
How to act in this case? You need to in the models were 0,000001
July 2nd 19 at 13:08
Where can I get information on competent UX?
Why can't I send data with POST method?
As in the breadcrumb displays the sections of the information block?
How convenient to change IP on AWS OpenVPN?
Mikrotik SXT Lite2 as access point?
What advise free Reverse Proxy solution?
Docker on different obrabatyvat team?
Mikrotik IPsec: IP white - - - grey IP?
More answers about
"How to convert 1e-06 to 0,000001 model in Yii?"
July 2nd 19 at 13:10
The numbers equal. Well, as far as possible to approximate by design double.
If a user wants to show in decimal format - the emphasis on the word "show". So this question is for the view, not the model. Staff number_format, for example, can be used.
putting the correct locale
commented on July 2nd 19 at 13:13
Find more questions by tags