intPrice = cInt("224424.2")
hmm.. det funkar ju inte så bra..
Overflow: 'cInt' blir svaret..
kan man inte hantera så höga tal ?
/t
------------------
the man with the golden bottle..
[Redigerat av tlee den 19 okt 2001]
3 svar · 241 visningar · startad av tlee
intPrice = cInt("224424.2")
hmm.. det funkar ju inte så bra..
Overflow: 'cInt' blir svaret..
kan man inte hantera så höga tal ?
/t
------------------
the man with the golden bottle..
[Redigerat av tlee den 19 okt 2001]
Inte med integers, utan du måste använda long för tal större än 32000 nånting.
lngPrice = cLng("224424.2")
Mvh,
------------------
All your base are belong to me.
använd clng om du vill ha större heltal
eller cdbl om du vill behålla decimalerna
int är 2 byte och ligger mellan -32768 och 32767
------------------
essentitia preter non sans multiplicandum
hehe.. där ser man..
dumma jag testade
cDouble och cLong lite snabbt och det funkade ju inte :)..
tack grabbar!
/t
------------------
the man with the golden bottle..