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
1 answer
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 - mina50 commented on July 2nd 19 at 13:13

Find more questions by tags YiiPostgreSQL