Autor Beitrag
GlobalImpact
Hält's aus hier
Beiträge: 9



BeitragVerfasst: Mo 28.03.05 20:04 
Hallo,
Ich brauch ne Variable (ich hoff mal sowas gibts), die ne beliebig grosse Zahl fassen kann. Die Zahl kann extram lang werden und z.B. Integer reicht bei weitem nicht aus.

Danke schonmal

Global Impact
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Mo 28.03.05 20:06 
Hallo und :welcome:

Größer als integer ist in64. Musst mal schauen, ob dir das ausreicht.

_________________
We are, we were and will not be.
Tilo
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 1098
Erhaltene Danke: 13

Win7 geg. WInXP oder sogar Win98
Rad2007
BeitragVerfasst: Mo 28.03.05 20:07 
Int64

2^64 Zahlen, müsste eigentlich reichen,
Ansonsten ein "Zählwerk" programmieren.
Fabian W.
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1766

Win 7
D7 PE
BeitragVerfasst: Mo 28.03.05 20:10 
Bei mir in Delphi3 geht das nicht. Ab waelcher Version kann ich den Int64 einsetzen??
LCS
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1305
Erhaltene Danke: 1

WIN 7, WIN 8
Delphi XE5, Delphi XE, Delphi 2007
BeitragVerfasst: Mo 28.03.05 20:11 
Hallo und willkommen im Delphi Forum :welcome:
Was heisst den extram lang? Der grösste Integer-Typ den Delphi zu bieten hat ist Int64. Ab Delphi 4. Bei allem was darüber hinaus geht wirds trickreich. Ein paar gute Anhaltspunkte dafür gibt hier (auf Englisch).

Gruss Lothar

---EDIT---
ich bin heut einfach zu langsam. :mrgreen:
---TIDE---

_________________
Der BH ist für die Brust, der Plan ist für'n Ar...
GlobalImpact Threadstarter
Hält's aus hier
Beiträge: 9



BeitragVerfasst: Sa 02.04.05 10:55 
Erstmal danke für die Antworten, war für ne weile im Urlaub und konnte deswegen nicht nachschaun, also nicht wundern, dass meine Antwort so spät kommt.

Kennt vielleicht auch jemand von euch ne Unit, mit der man grössere Zahlen verarbeiten kann?
Also meine Zahl wird wohl so ab 1000 Stellen aufwärts bis unendlich (ok, sagen wir mal bis 1 Million) vielen gehen.


Danke für die Antworten

mfg Global Impact