Re: number beginning with zerro
- From: "Heinrich Wolf" <invalid@xxxxxxxxxxxxxxx>
- Date: Sat, 28 Jul 2007 09:54:20 +0200
"surena" <surena_abari@xxxxxxxxx> schrieb im Newsbeitrag
news:1185602037.288281.145160@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
I put a number in an edit box and want to change it to a number. I
used strtoint function. It did
not work with phone numbers like 05713234, apparently due to 0. Why?
This number equals to 5713234. But Delphi does
not agree!
Surena.
Hi Surena,
I don't see a reason why 05713234 should not convert to int,
although I am particularly not familiar with strtoint.
But are you sure, that you assign it to a 32 Bit int?
16 Bit int (Delphi-1 integer) will not do the job.
I would not store phone numbers as numbers,
because leading zeroes are significant.
Dialling here in germany I would be connected
to three different destinations on
80012,
080012 and
0080012
Telephone numbers might consist of a set of 16 DTMF tones
0123456789ABCD*#
Dialling by a modem you need even more characters
e.g. ,<; for pause, flash, etc.
Regards
Heiner
.
- References:
- number beginning with zerro
- From: surena
- number beginning with zerro
- Prev by Date: number beginning with zerro
- Next by Date: Re: number beginning with zerro
- Previous by thread: number beginning with zerro
- Next by thread: Re: number beginning with zerro
- Index(es):