• Slang Standard Library Reference
    • Interfaces
      • IArithmetic
      • IArithmeticAtomicable
      • IArray
      • IAtomicable
      • IBitAtomicable
      • IBufferDataLayout
      • IComparable
      • IDefaultInitializable
      • IDifferentiable
      • IDifferentiableFunc
      • IDifferentiableMutatingFunc
      • IDifferentiablePtrType
      • IFloat
      • IFunc
      • IInteger
        • init
        • toInt
        • toInt64
        • toUInt
        • toUInt64
      • ILogical
      • IMutatingFunc
      • IRWArray
      • IRangedValue
      • __BuiltinArithmeticType
      • __BuiltinFloatingPointType
      • __BuiltinIntegerType
      • __BuiltinLogicalType
      • __ITextureShape
      • __ITextureShape1D2D3D
    • Types
    • Attributes
    • Global Declarations

IInteger.toInt

Description

Converts the value of the current instance to an int.

Signature

int IInteger.toInt();

Return value

The converted int value.