PDA

View Full Version : Max doesn't know how to add


FatAssasin
01-20-2004, 05:38 PM
I don't know what's going on here, but when I enter this line into the MaxScript Listener window...

86495125 + 2111752563

It returns this result...

-2096719608

????

Using a calculator I get the correct result, which is...

2198247688

Does Max have trouble with large numbers? This type of incorrect math is messing up a script I'm trying to write. What's going on?

FatAssasin
01-20-2004, 06:51 PM
Never mind, I found the problem.

The range of valid Integers in MAXScript is -2,147,483,648 to 2,147,483,647.

CGTalk Moderation
01-17-2006, 06:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.