• Help Home
  • English (US)
    1. English (US)
    2. 简体中文
    3. 繁體中文
    4. Čeština
    5. Deutsch
    6. Español
    7. Français
    8. Italiano
    9. 日本語
    10. 한국어
    11. Polski
    12. Português (Brasil)
    13. Русский
Inventor 2026
    • Inventor What's New
      • What's New in Inventor 2026
      • What's New for Previous Releases
    • Inventor Release Notes
    • Get Started Videos
    • Tutorials
    • Inventor Help Topics
    • Programming Interface
    • iLogic
    • iLogic API
      • Overview
      • Rule objects
      • What's New
      • Autodesk.iLogic.Interfaces
      • Autodesk.iLogic.Runtime
        • LmiMath Class
          • LmiMath Methods
            • Ceil Method
            • EqualWithinTolerance Method
            • Ln Method
            • MakeList Method
            • MakePath Method
            • MaxOfMany Method
            • MinOfMany Method
            • Sign0 Method
        • MathString Class
        • ModelStatesGlobalScope Class
        • RoundingMethod Enumeration
        • RunDialogs Class
      • Autodesk.iLogic.Types
      • Autodesk.iLogic.Vault
    • Inventor Installation
    • Subscription Benefits
    Share
    • Email
    • Facebook
    • Twitter
    • LinkedIn

    LmiMath.Ln Method

    Returns the natural (base e) logarithm of a specified number. (This uses the standard .NET Math.Log method.)

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

    Syntax

    VB

    Public Shared Function Ln ( 
    	d As Double
    ) As Double

    C#

    public static double Ln(
    	double d
    )

    Parameters

    d
    Type: System.Double

    Return Value

    Type: Double

    See Also

    Reference

    LmiMath Class
    Autodesk.iLogic.Runtime Namespace

    Was this information helpful?

    Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Please see the Autodesk Creative Commons FAQ for more information.

    • Privacy Statement
    • Legal Notices & Trademarks
    • Report Noncompliance
    • © 2025 Autodesk Inc. All rights reserved