Einzelnen Beitrag anzeigen

DennisHB

Registriert seit: 25. Aug 2003
Ort: Bremen
58 Beiträge
 
Delphi 6 Personal
 
#30

Re: zahl in Uhrzeit darstellen

  Alt 13. Jul 2006, 11:56
Unit: System

Description:
The Trunc function truncates a real-type value to an integer-type value. X is a real-type expression. Trunc returns an Int64 value that is the value of X rounded toward zero.

If the truncated value of X is not within the Int64 range, an EInvalidOp exception is raised.

Delphi-Quellcode:
...
label51.caption := sectostr(Trunc(irig));
...
  Mit Zitat antworten Zitat