[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Null value into an integer variable


Il 19/04/24 14:41, BB ha scritto:
Consider this.

Public Sub Main()

   Dim vIntero As Variant

   Dim intval as Integer


   vIntero = 450000
   intval = IntValue(vIntero)
   vIntero = 2200000000
   intval= IntValue(vIntero)
   vIntero = -2200000000
   intval = IntValue(vIntero)
   vIntero = "PIPPO"
   intval = IntValue(vIntero)

End

See the difference?

b



What you wrote doesn't make much sense.
We are talking generically here.
Benoit has already explained that the Integer variable is not nullable,
we need to find a 'workaround'.
Jussi also seems to agree...

Regards
Gianluigi


Follow-Ups:
Re: Null value into an integer variableFirst Last <d4t4full@xxxxxxxxx>
References:
GRIDVIEW color and size"Mayost Sharon" <sharon@xxxxxxxxx>
Re: GRIDVIEW color and sizeT Lee Davidson <t.lee.davidson@xxxxxxxxx>
Re: GRIDVIEW color and sizeT Lee Davidson <t.lee.davidson@xxxxxxxxx>
Re: GRIDVIEW color and size"Mayost Sharon" <sharon@xxxxxxxxx>
Re: GRIDVIEW color and sizeT Lee Davidson <t.lee.davidson@xxxxxxxxx>
Null value into an integer variable"Mayost Sharon" <sharon@xxxxxxxxx>
Re: Null value into an integer variableGianluigi <gradobag@xxxxxxxxxxx>
Re: Null value into an integer variableBB <adamnt42@xxxxxxxxx>
Re: Null value into an integer variableBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Null value into an integer variableBB <adamnt42@xxxxxxxxx>
Re: Null value into an integer variableGianluigi <gradobag@xxxxxxxxxxx>
Re: Null value into an integer variableBB <adamnt42@xxxxxxxxx>