Use int() method to convert float number to integer : Type cast : Data Type Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Data Type » Type cast »

 

Use int() method to convert float number to integer


 

package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){
        int(4.93)

    }
  }
}

        



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


Flash / Flex / ActionScript examples

 Navioo Data Type
» Type cast