# Intresting problem ...look here

**URL:** <https://forum.kirupa.com/t/intresting-problem-look-here/304879>\
**Category:** Uncategorized\
**Created:** [February 15, 2010, 9:53pm UTC](https://forum.kirupa.com/t/intresting-problem-look-here/304879 "2010-02-15T21:53:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![as1toas2](https://avatars.discourse-cdn.com/v4/letter/a/82dd89/32.png) [@as1toas2](https://forum.kirupa.com/u/as1toas2)\
**Post date:** [February 15, 2010, 9:53pm UTC](https://forum.kirupa.com/t/intresting-problem-look-here/304879/1 "2010-02-15T21:53:42Z")

</div>

I converted AS1 to AS2, and everything is ok except this 5 Errors in Output Panel…

these are ParseInt errors in Output panel\>  
\*\*\_loc2 = parseInt(\_loc2) + zi + parseInt(Math.floor(\_loc1 / 48)) - 32083;

\_loc2 = \_loc2 + (parseInt(Math.floor(\_loc1 / 4800)) - parseInt(Math.floor(\_loc1 / 1200)) + 38);

return (\_loc1 \> 360 ? (\_loc1 - parseInt(\_loc1 / 360) \* 360) : (\_loc1));

\_root.frm\_input.cmb\_longmin.setSelectedIndex(parse Int((\_root.frm\_output.long - parseInt(\_root.frm\_output.long, 10)) \* 60, 10));

\_root.frm\_input.cmb\_latmin.setSelectedIndex(parseInt((\_root.frm\_output.lat - parseInt(\_root.frm\_output.lat, 10)) \* 60, 10));\*\*

but like this one ParseInt down there, are not errors in Output panel, and I have many like this one\>

\_root.frm\_input.cmb\_latgr.setSelectedIndex(parseInt(\_root.frm\_output.lat, 10));

so whats wrong in script? why 5 parseInt from up there are errors ?thank you for your help
