English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

whats the variable type for a long number...like aphone number....what sould i use? integer? real?
or what..?
thanx

2007-03-10 02:18:11 · 5 answers · asked by Anonymous in Computers & Internet Programming & Design

5 answers

You can use a string (set of characters) or longinteger (for a very long number).

2007-03-10 20:41:03 · answer #1 · answered by Fr0z3nByt3 3 · 0 0

Use text or string type for phone numbers. If you use any form of numerical type you will be unable to leave spaces, you will lose the leading zero, you may get it converted to floating point (real) notation.

2007-03-10 02:29:08 · answer #2 · answered by DriverRob 4 · 0 0

If you need the var for computations, use a longint, if you don't need to do computations on it and just need to store info like a tel# then use string.

2007-03-10 02:28:17 · answer #3 · answered by solitaryfalcon 2 · 2 0

use a real number its not an integer.

2007-03-10 02:22:03 · answer #4 · answered by clever investor 3 · 0 1

use longint

2007-03-10 02:27:23 · answer #5 · answered by ally_t 2 · 0 0

fedest.com, questions and answers