Re: number beginning with zerro




"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.


.



Relevant Pages

  • Re: number beginning with zerro
    ... surena wrote: ... I put a number in an edit box and want to change it to a number. ... used strtoint function. ... -- Charles William Stubbs ...
    (alt.comp.lang.borland-delphi)
  • Re: number beginning with zerro
    ... I put a number in an edit box and want to change it to a number. ... used strtoint function. ... This number equals to 5713234. ... What number did Delphi give you? ...
    (alt.comp.lang.borland-delphi)
  • number beginning with zerro
    ... I put a number in an edit box and want to change it to a number. ... used strtoint function. ... This number equals to 5713234. ... But Delphi does ...
    (alt.comp.lang.borland-delphi)