RE: [Flashcoders] Re: Flashcoders Digest, Vol 23, Issue 13

2006-12-06 Thread Doug Coning
Excellent suggestion. Didn't think about splitting into an array. Good idea. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Olson Sent: Wednesday, December 06, 2006 3:48 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Re:

RE: [Flashcoders] Re: Flashcoders Digest, Vol 23, Issue 13

2006-12-06 Thread Steven Sacks | BLITZ
Yup, there are all kinds of things you can do if you cast it as a String. As far as the rounding thing goes, you want it to round. 0.2999 is supposed to be 0.3 If you multiply 0.29 by 10, you get 2.9. You round it you get 3. You divide by 10 you get .3. myNum = Math.round(myNum *