Re: number beginning with zerro



On Jul 29, 1:59 am, Jamie
<jamie_ka1lpa_not_valid_after_ka1l...@xxxxxxxxxxx> wrote:
surena wrote:
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.

and what version of delphi ? and are you sure you didn't put in a
"O" instead of a "0" ?

--
"I'm never wrong, once i thought i was, but was mistaken"
Real Programmers Do things like this.http://webpages.charter.net/jamie_5

Hi,

The actual number is 05712222286. I think the problem is not in
leading 0 but this number is too big. So my question: how can we store
phone numbers like 0014253925643 in delphi 7?

Surena.

.



Relevant Pages

  • Re: number beginning with zerro
    ... used strtoint function. ... This number equals to 5713234. ... But Delphi does ... branch, it is imperative to store phone numbers as a string, just ...
    (alt.comp.lang.borland-delphi)
  • Re: number beginning with zerro
    ... used strtoint function. ... This number equals to 5713234. ... But Delphi does ... Real Programmers Do things like this.http://webpages.charter.net/jamie_5 ...
    (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)
  • Re: Handle / detect key combinations
    ... In come controls Delphi also builds a cache, ... use the API call GetKeySTatefor example. ... TShiftState type ... Thank you, Jamie. ...
    (alt.comp.lang.borland-delphi)