rec2.text = Number(s0) + Number(s1);
On 9/7/06, Laurent CUCHET <[EMAIL PROTECTED]> wrote:
I import data from a db with flashsql and its ok for that. When I try to add the 2 values, a simple + funtion it concatene and not add ... var s0:Number = flashSQL.MoveNext.var80;// for exemple value =12 rec0.text = s0; var s1:Number = flashSQL.MoveNext.var81;// for exemple value =24 rec1.text = s1; rec2.text=s0+s1;//I get 1224 and not 36 !!! Have you got an idea why ? _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
-- ...helmut helmutgranda.com _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

