Einzelnen Beitrag anzeigen
Alt 26.10.2004, 20:28   #1
jak
Inventar
 
Registriert seit: 13.06.2001
Beiträge: 1.830


Standard Telefonnummer in Java

Was ist die Beste Methode um in Java eine Telefon Nummer zu speichern? Ich hab' derzeit Vorwahl als Int und Tel.Nr als double, nur leider werden die Nummern dann mit Kommastellen und 10^x angezeigt
(1.2345678E7 statt 12345678)
(int ist zu klein, Long lässt sich aus irgendeinem Grund nicht parsen).
Jak
____________________________________
Join the DNRC | Godwin\'s Law (thx@stona)
Documentation is like sex: If it\'s good, it\'s very, very good. If it\'s bad, it\'s better than nothing.
\"In theory, theory and practice are the same. In practice, they are not\" (Lawrence Berra)
jak ist offline   Mit Zitat antworten