[development] Converting floats stored in scientific notation back to decimals
earnie at users.sourceforge.net
Mon Nov 5 12:24:19 UTC 2007
Quoting Karen Stevenson <karen at elderweb.com>:
> I'm working on the CCK D6 port and I need help coming up with the SQL
> to convert floats stored in scientific notation back to decimals.
Read the data from the DB then <?php $data = (float)(0+$data); ?>
should convert the string back to floating.
Earnie -- http://for-my-kids.com/
More information about the development