Decimal value with leading zeroes not showing correctly

I’ve got a “discount” field in my table with the value for a specific row stored as: 0.007937 (visible in phpmyadmin).

When I load the row into a yii model though and print the "discount" field, it reads: 0.7937

I’ve tried changing the value from 0.007937 to 0.7937 in the database thinking that I had forgotten a *100 multiplier somewhere, but it still shows: 0.7937.

Any ideas on why my leading zero decimal value is not showing correctly?

share ur code more idea.