TruncateResult Property

MSBuild

When true, uses integer division to truncate the result. Default is false


Namespace: MSBuild.Community.Tasks.Math
Assembly: MSBuild.Community.Tasks (in MSBuild.Community.Tasks.dll)

Syntax

Visual Basic (Declaration)
Public Property TruncateResult As Boolean
C#
public bool TruncateResult { get; set; }
C++
public property bool TruncateResult sealed  {
    bool get();
    void set(bool value);
}
J#
/** property */
public bool get_TruncateResult();

/** property */
public void set_TruncateResult(bool value);
JScript
public function get TruncateResult() : bool

public function set TruncateResult(value : bool);

Remarks

Any remainder in the result is dropped, and the closest integer to zero is returned.

Refer to the documentation for the \ Operator for more information about integer division.

See Also

Syntax based on .NET Framework version 2.0.
Documentation version 1.0.0.0.