Minimum and Maximum Values for uint and int : Number « Data Type « Flash / Flex / ActionScript

Home
Flash / Flex / ActionScript
1.Animation
2.Array
3.Class
4.Data Type
5.Development
6.Function
7.Graphics
8.Language
9.Network
10.Regular Expressions
11.Statement
12.String
13.TextField
14.XML
Flash / Flex / ActionScript » Data Type » Number 
Minimum and Maximum Values for uint and int
 

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

      trace(uint.MIN_VALUE)//0
      trace(uint.MAX_VALUE)//4294967295
      trace(int.MIN_VALUE)//-2147483648
      trace(int.MAX_VALUE)//2147483647
      trace(Number.MIN_VALUE)//4.9406564584124654e-324
      trace(Number.MAX_VALUE)//1.79769313486231e+308
  
    }
  }
}

        
Related examples in the same category
1.Use Number type variable in for loop
2.Read and write to a variable
3.Decimal Numbers
4.Casting to a Number: Number(stringValue)
5.Dealing with Infinite Values: Number.POSITIVE_INFINITY and Number.NEGATIVE_INFINITY
6.Handling Minimum and Maximum Values: MAX_VALUE and MIN_VALUE
7.Working with Number Instances
8.The default value for an unassigned variable of type Number is NaN
9.Not a Number: use the top-level function isNaN()
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.