No, you were correct. It also uses float, however long was already in the
code, just not used. I made a couple changes and works like a charm. All I¹m
really doing is passing along the variable from the user end and storing it
in the db, so I don¹t need to perform any calculations along the way.

Cheers,

-- 
Blair




From: Tim Hoff <[EMAIL PROTECTED]>
Reply-To: <[email protected]>
Date: Fri, 08 Aug 2008 15:37:49 -0000
To: <[email protected]>
Subject: [flexcoders] Re: Using Create App from DB - Saving decimal number
123.123??

 
 

Oh sorry, been in the java world too "long".  I beleive that php uses
Float; instead of double or long.

-TH

--- In [email protected] <mailto:flexcoders%40yahoogroups.com> ,
Blair Cox <[EMAIL PROTECTED]> wrote:
>
> Ha, too funny ;) I thought it was a simple matter of changing the
script. It
> is set to Number on the flex side and int of the php. Sorry, did
you say to
> set it to Œlong¹? (or is that log?) I¹ll look up the options within
php, but
> I¹m not familiar with this one.
> 
> Cheers! Thanks for the assistance.
> 
> -- 
> Blair 
> 
> 
> 
> 
> From: Tim Hoff <[EMAIL PROTECTED]>
> Reply-To: <[email protected] <mailto:flexcoders%40yahoogroups.com> >
> Date: Thu, 07 Aug 2008 20:26:02 -0000
> To: <[email protected] <mailto:flexcoders%40yahoogroups.com> >
> Subject: [flexcoders] Re: Using Create App from DB - Saving decimal
number
> 123.123??
> 
>  
>  
> 
> 
> No, you're stuck using just int for the rest of your programming
> existence.  Ha, just kidding.  :)  Just change it to a long on the
php
> side.  And change it to a Number on the flex side.
> 
> -TH
> 

Reply via email to