Jump to content

Recommended Posts

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. ;D

Link to comment
https://forums.phpfreaks.com/topic/73285-convert-double-value-to-long-value/
Share on other sites

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.