What is the maximum integer value in Flex?

后端 未结 4 763
孤城傲影
孤城傲影 2021-01-18 16:31

I was trying to display a number: 2893604342.00. But, when i am displaying it it is displayed as: -2893604342.

Following is the code snippet ...

avg          


        
4条回答
  •  猫巷女王i
    2021-01-18 17:27

    The maximum values are accessible through each numeric type's static properties:

    • Number.MAX_VALUE
    • uint.MAX_VALUE
    • int.MAX_VALUE

    (Just trace 'em.)

提交回复
热议问题