>Subject: Re: Overflow?!
>From: "Susan" <[EMAIL PROTECTED]>
>Date: Sat, 8 Feb 2003 13:38:23 +0800
>X-Message-Number: 85
>
>
>"Brian Smith" worote:
>
>
>> > Int32 nSourceID=9093962000;
>>
>> There's your problem, or part of it... the highest number than a UInt32
>> can hold is 4294967295, and an Int32 can hold about half that.  You can
>> try using floating point numbers...
>>
>> --
>
>I correct the code to :
>double nSourceID=9093962000;
>
>But still cant get the exact result.
>
>Thanks in advance!!!
>

The MetroWerks compiler supports a "long long" integer variable
type, which should give you the size necessary.

Roger Stringer
Marietta Systems, Inc. (www.RF-TP.com)


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to