AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Ln mit Int64 will nicht. Warum?

Ein Thema von Mattze · begonnen am 20. Jul 2009 · letzter Beitrag vom 20. Jul 2009
Antwort Antwort
Mattze

Registriert seit: 6. Jan 2005
664 Beiträge
 
#1

Ln mit Int64 will nicht. Warum?

  Alt 20. Jul 2009, 17:44
Hallo,

wenn ich ln(x) mit x: Int64 aufrufe, sagt er mir: Falscher Typ.
Komisch...

Warum geht das nicht und wie kann ich denn das trotzdem machen?

Gruß
Mattze
  Mit Zitat antworten Zitat
Benutzerbild von Neutral General
Neutral General

Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#2

Re: Ln mit Int64 will nicht. Warum?

  Alt 20. Jul 2009, 17:49
Hi,

Versuchs mal so:

Delphi-Quellcode:
var n64: Int64;
    x: Extended;
begin
  n64 := 999999999;
  x := n64;
  x := ln(x);
end;
Gruß
Neutral General
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
  Mit Zitat antworten Zitat
Mattze

Registriert seit: 6. Jan 2005
664 Beiträge
 
#3

Re: Ln mit Int64 will nicht. Warum?

  Alt 20. Jul 2009, 18:44
Aua!!!

Ich wusste ja, dass ich heute KO und müde bin, aber so doll?

Vielen Dank!

Gruß
Mattze
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 05:00 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz