Share

DoubleUtil Class

Provides functions to compare double-precision numbers (with approximately 15 decimal digits) as if they were single-precision (approximately 6 decimal digits).

Inheritance Hierarchy

System.Object
  Autodesk.iLogic.Interfaces.DoubleUtil

Namespace:  Autodesk.iLogic.Interfaces
Assembly:  Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 30.0

Syntax

VB

Public NotInheritable Class DoubleUtil

C#

public sealed class DoubleUtil

The DoubleUtil type exposes the following members.

Methods

  NameDescription
Public methodStatic memberDoublesAreDifferent
Tests to see if two numbers are not equal within approximately 6 decimal digits.
Public methodStatic memberDoublesAreEqual
Tests to see if two numbers are equal within approximately 6 decimal digits.

Remarks

This is used by the DoubleForEquals type.

See Also

Reference

Was this information helpful?