API Reference

Detailed and full API reference helps you master Tekla development

This is the most recent version of Tekla Open API.
For older versions, please visit Tekla Warehouse.

DoubleCompareTo Method

Compares the current object with another object of the same type.

Namespace:  Tekla.Structures.Datatype
Assembly:  Tekla.Structures.Datatype (in Tekla.Structures.Datatype.dll) Version: 2020.0.0.0 (2020.0.55582.0)
public int CompareTo(
	Double other


Type: Tekla.Structures.DatatypeDouble
The object to be compared with the current object.

Return Value

Type: Int32

A 32-bit signed integer that indicates the relative order of the objects being compared.

The return value has the following meanings:

Value Meaning
Less than zero The current object is less than the other object.
Zero The current object is equal to the other object.
Greater than zero The current object is greater than the other object.


See Also