• Help Home
  • Quick References
    • What's New
    • New Features Video
    • The Hitchhiker's Guide to AutoCAD for Mac
    • Commands
    • System Variables
  • English (US)
    1. English (US)
    2. 简体中文
    3. Deutsch
    4. Español
    5. Français
    6. Italiano
    7. 日本語
    8. 한국어
AutoCAD for Mac 2025
    • What's New in AutoCAD for Mac
      • New Features Overview (Video)
      • What's New in AutoCAD for Mac 2025
      • What's New in Previous Releases
    • Getting Started
    • AutoCAD for Mac User's Guide
    • Cross Platform
    • Subscription Benefits
    • Customization and AutoLISP
      • Customization Guide
      • DXF Reference
      • AutoLISP: Developer's Guide
      • AutoLISP: Reference
        • Functions Reference (AutoLISP)
        • AutoLISP Core Functions
          • Functions By Functionality
          • Non-alphabetic Functions
          • A Functions
          • B Functions
          • C Functions
          • D Functions
          • E Functions
          • F Functions
            • findfile (AutoLISP)
            • findtrustedfile (AutoLISP)
            • fix (AutoLISP)
            • float (AutoLISP)
            • foreach (AutoLISP)
          • G Functions
          • H Functions
          • I Functions
          • L Functions
          • M Functions
          • N Functions
          • O Functions
          • P Functions
          • Q Functions
          • R Functions
          • S Functions
          • T Functions
          • U Functions
          • V Functions
          • W Functions
          • X Functions
          • Z Functions
        • AutoLISP External Functions
        • DCL Reference
        • ActiveX Library Functions (Windows Only)
        • Express Tools Library Functions (AutoCAD for Windows Only)
        • Visual LISP IDE Related Functions (AutoCAD for Windows Only)
      • AutoLISP: Tutorials
    • Installation
    • AutoCAD for Mac Release Notes
    Share
    • Email
    • Facebook
    • Twitter
    • LinkedIn
     
     

    float (AutoLISP)

    Returns the conversion of a number into a real number

    Supported Platforms: Windows, Mac OS, and Web

    Signature

    (float number)
    number

    Type: Integer or Real

    A numeric value.

    Return Values

    Type: Real

    The real number derived from number.

    Examples

    (float 3)
    3.0
    
    (float 3.75)
    3.75

    Related Concepts

    • Arithmetic Functions Reference (AutoLISP)

    Related Reference

    • fix (AutoLISP)

    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