--- In [email protected], "adorritie" <[EMAIL PROTECTED]> wrote: > > I didn't find a 64-bit integer datatype in the Flex docs and I would > like to work with a SQL Server database that uses BIGINT (64-bit > signed) datatype as a record identifier. Is there a reason why Flex > doesn't have a 64-bit int? How have others worked around this limitation? > > Much thanks, > > Adam >
Adam, The 64-bit integer limitation is an Actionscript 3 limit not Flex. The Number data type uses the 64-bit double-precision format as specified by the IEEE Standard for Binary Floating-Point Arithmetic (IEEE-754). This standard dictates how floating point numbers are stored using the 64 available bits. One bit is used to designate whether the number is positive or negative. Eleven bits are used for the exponent, which is stored as base 2. The remaining 52 bits are used to store the significand (also called the mantissa), which is the number that is raised to the power indicated by the exponent. Michael

