felixcriv Posted October 15, 2007 Share Posted October 15, 2007 Hi. I'm newbie with php5........ I have this issue with doubles values. When I store a long value like 1234567898999, the data is stored like 123E+10 or something like this. I need retrieve the data like long value, like 1234567898999, but I need store it like double value. Any suggestions?. Any help would be appreciate. Link to comment https://forums.phpfreaks.com/topic/73285-convert-double-value-to-long-value/ Share on other sites More sharing options...
jd2007 Posted October 15, 2007 Share Posted October 15, 2007 i echo 1234567898999, i get 1234567898999. Link to comment https://forums.phpfreaks.com/topic/73285-convert-double-value-to-long-value/#findComment-369772 Share on other sites More sharing options...
MasterACE14 Posted October 15, 2007 Share Posted October 15, 2007 your storing it in 'data' ? do you mean, a variable, or in a MySQL database? if its in MySQL its possible it may insert it in, in scientific notation. But if its in a variable I don't think it will do that. please give us more information and some code if possible. Regards ACE Link to comment https://forums.phpfreaks.com/topic/73285-convert-double-value-to-long-value/#findComment-369778 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.