Autor Beitrag
Projekt Messdaten
Hält's aus hier
Beiträge: 11



BeitragVerfasst: Do 26.09.02 11:09 
Hallo,

ich hab da ein kleines Problem.

Ich muß Hexadezimalzahlen in Dezimalzahlen umwandeln. In Delphi gibt es dafür aber keinen Befehl. Kann mir da vielleicht jemand weiterhelfen.

Danke

mfg
Daniel


Zuletzt bearbeitet von Projekt Messdaten am Fr 27.09.02 13:58, insgesamt 2-mal bearbeitet
Motzi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2931

XP Prof, Vista Business
D6, D2k5-D2k7 je Prof
BeitragVerfasst: Do 26.09.02 11:21 
Kurz und bündig: StrToInt('$' + <dein Hexwert>);

_________________
gringo pussy cats - eef i see you i will pull your tail out by eets roots!
Projekt Messdaten Threadstarter
Hält's aus hier
Beiträge: 11



BeitragVerfasst: Fr 27.09.02 13:59 
Danke, :)
aber ist es auch möglich, statt dem Hex-Wert bei
strtoint('$' + <hexwert>);
eine Variable zu benützen?
Ich habe eine ListBox mit mind. 40 Hex-Werten die ich gerne in Dez-Werte
in eine andere ListBox schreiben möchte. :?:
Danke

mfg
Daniel
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: Fr 27.09.02 14:22 
Autsch :mrgreen:
Was hattest du denn gedacht was <hexwert> darstellen soll :think:

Gruss Lothar

_________________
Der BH ist für die Brust, der Plan ist für'n Ar...