php - 0-mantissa storage
ringa_lee
ringa_lee 2017-05-16 13:04:37
0
1
335

Why is the timestamp converted to seconds in a format such as 25.800, where 800 is milliseconds? The problem is that there is a 0 at the end but when it is stored in the database, it is gone and becomes 25.8. This field type uses float. Is there anything I can do? Is it stored as 25.800? ?

ringa_lee
ringa_lee

ringa_lee

reply all(1)
刘奇

But why do we need to save two zeros? Wouldn't it be better to convert it when taking it out?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template