Variant limit ?

forum.advanced.programming (2000-2005)
NewsgroupServer
Robot
Robot
Posts: 115421
Joined: 24 Feb 2017, 12:00
Location: World wide

Variant limit ?

Post by NewsgroupServer » 14 Mar 2005, 09:20

 Posted by:  Philipp Druyts 

Hi NG,

When calling Parameter.SetNumber(p_nValue,VT_I4), and the number is very
high (like 9999999999) it generates an error (see attach) ...

Is there a limit on this ?
If yes, is there a workaround (we now need to convert large numbers to
strings).

Thanks in advance ...

Philipp

Attachment: 2.JPG

NewsgroupServer
Robot
Robot
Posts: 115421
Joined: 24 Feb 2017, 12:00
Location: World wide

Variant limit ?

Post by NewsgroupServer » 15 Mar 2005, 08:35

 Posted by:  Stefan Beltrame 

VT_I4 = 4 Byte Integer Value = +/- 2^31 = +/-2147483647

Return to “advanced.programming”

Who is online

Users browsing this forum: [Ccbot] and 0 guests