Re: number beginning with zerro
- From: "Gert Baars" <g.baars13@xxxxxxxxx>
- Date: Sat, 28 Jul 2007 04:37:28 -0700
"surena" <surena_abari@xxxxxxxxx> wrote in message
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.
Look at the stringfunctions in Delphi help.
There is a copy function so the leading
digit can be skipped if zero. Then
use strtoint on the copied string.
.
- Follow-Ups:
- Re: number beginning with zerro
- From: Chris.Cheney
- Re: number beginning with zerro
- References:
- number beginning with zerro
- From: surena
- number beginning with zerro
- Prev by Date: Re: number beginning with zerro
- Next by Date: Re: number beginning with zerro
- Previous by thread: Re: number beginning with zerro
- Next by thread: Re: number beginning with zerro
- Index(es):
Relevant Pages
|