Property SLRealToInt.TSLRealToInt.Round

From Mitov Wiki Doc
(Difference between revisions)
Jump to: navigation, search
David Alm (Talk | contribs)
(Automated Syncronization with Documentation)

Latest revision as of 00:24, 22 November 2011

This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.

Class: TSLRealToInt

Contents

Syntax

Delphi:

property Round : Boolean read FRound write SetRound;

C++ Builder:

__property bool Round = { read=FRound, write=SetRound };

Summary

Round the samples.

Description

If set to True the values will be rounded to the closest integer value, otherwise they will be truncated to the closest smaller integer value.


Delphi example:

SLRealToInt1.Round := True;

C++ Builder example:

SLRealToInt1->Round = true;

Visual C++(MFC/Win32) example:

SLRealToInt1.Round = true;

Visual C++/CLI example:

realToInt1->Round = true;

C# example:

realToInt1.Round = true;

VB example:

RealToInt1.Round = True

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox