64 Bit Values - Double, Integer64, IntegerPtr

Double : Number
Integer64 : Number
IntegerPtr : Number

Three Number value classes have been added to MAXScript in 3ds Max 9: Double, Integer64 and IntegerPtr.

FOR EXAMPLE:

   1.0d0 --returns 1.0d0
   0.5 as Double --returns0.5d0
   2.0d5--returns 2000000.0d0
   1.2d-3 --returns 0.0012d0

The printing of very small Double values has been improved in 3ds Max 2011 and higher:

When a Float value is printed, if its value is less than 1.192092896e-07 (the smallest float f such that 1.0+f != 1.0), the Float is printed as 0.0.

When a Double value is printed, if its value is less than 2.2204460492503131e-016 (the smallest double d such that 1.0+d != 1.0), the Double is printed as 0.0. In versions prior to 3ds Max 2011, the float value of 1.192092896e-07 was being used for Doubles too.

Related Methods:

is64bitApplication()

In 3ds Max 9 and higher, returns true if running in a 64 bit build of 3ds Max, false otherwise.