什么是Flex中的最大整数值? [英] What is the maximum integer value in Flex?

查看:380
本文介绍了什么是Flex中的最大整数值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是想显示一个数字:2893604342.00。但是,当我显示出来,显示为:-2893604342

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

以下是code片段...

Following is the code snippet ...

avg += int(totalData[i][col.dataField]);

我甚至与取代它,但它仍然显示了同样的负数。

I have even replaced it with Number, but it's still showing the same negative number.

请让我知道是否有与 INT 有任何问题或

Please let me know whether there is any problem with int or Number!

推荐答案

的最大值是通过每一个数值类型的静态属性进行访问。

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

Number.MAX_VALUE,uint.MAX_VALUE和int.MAX_VALUE的。

Number.MAX_VALUE, uint.MAX_VALUE, and int.MAX_VALUE.

(只跟踪他们。)

这篇关于什么是Flex中的最大整数值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆