Regouin
06-10-2005, 01:59 AM
Hi everyone,
Now I am using
lvoorwas = CInt(txtlvwas.Text)
rvoorwas = CInt(txtrvwas.Text)
hoofdwas1 = CInt(txthwas1.Text)
hoofdwas2 = CInt(txthwas2.Text)
week = CInt(txtdatum.Text)
totvoorwas = lvoorwas + rvoorwas
tothoofdwas = hoofdwas1 + hoofdwas2
txttotvwas.Text = totvoorwas
txttothwas.Text = tothoofdwas
to be able to calculate with the numbers that are typed into text boxes, only when the number I enter goes higher then 33000-something, the thing goes boom, because integer dont handle those numbers. What is the equivalent for CInt for creating a long instead of an integer?
TIA
Now I am using
lvoorwas = CInt(txtlvwas.Text)
rvoorwas = CInt(txtrvwas.Text)
hoofdwas1 = CInt(txthwas1.Text)
hoofdwas2 = CInt(txthwas2.Text)
week = CInt(txtdatum.Text)
totvoorwas = lvoorwas + rvoorwas
tothoofdwas = hoofdwas1 + hoofdwas2
txttotvwas.Text = totvoorwas
txttothwas.Text = tothoofdwas
to be able to calculate with the numbers that are typed into text boxes, only when the number I enter goes higher then 33000-something, the thing goes boom, because integer dont handle those numbers. What is the equivalent for CInt for creating a long instead of an integer?
TIA