Einzelnen Beitrag anzeigen

WojTec

Registriert seit: 17. Mai 2007
480 Beiträge
 
Delphi XE6 Professional
 
#12

Re: AW: Re: Truncate float without rounding

  Alt 8. Jan 2014, 17:01
Why I have a NO in my mind?
I don't know

So, both Trunc() and Int() remove from input fraction, but both returns different type. I don't know why (if result is integer) and this is reason I'm asking about differences.

BTW: forgot about Round(), that's was mistake
  Mit Zitat antworten Zitat