Dealing with Infinite Values : Number : Data Type Flash / Flex / ActionScript examples


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

 

Dealing with Infinite Values


 


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

        trace(isFinite(10));  // Displays: true
        trace(isFinite(Number.POSITIVE_INFINITY));   // Displays: false


    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo Data Type
» Number