Docs
Enterprise
Sign In
  • Zoo Design Studio
  • Zoo Developer Tools
    • KCL Book
    • KCL Language Reference
    • KCL Standard Library
        • abs
        • acos
        • angledLine
        • angledLineThatIntersects
        • appearance
        • appearance::hexString
        • arc
        • asin
        • assert
        • assertIs
        • atan
        • atan2
        • bezierCurve
        • ceil
        • chamfer
        • circle
        • circleThreePoint
        • clone
        • close
        • concat
        • conic
        • cos
        • count
        • ellipse
        • elliptic
        • ellipticPoint
        • extrude
        • faceOf
        • fillet
        • floor
        • gdt::datum
        • gdt::flatness
        • getCommonEdge
        • getNextAdjacentEdge
        • getOppositeEdge
        • getPreviousAdjacentEdge
        • helix
        • hole::blind
        • hole::counterbore
        • hole::countersink
        • hole::drill
        • hole::flat
        • hole::hole
        • hole::holes
        • hole::holesLinear
        • hole::simple
        • hollow
        • hyperbolic
        • hyperbolicPoint
        • intersect
        • involuteCircular
        • lastSegX
        • lastSegY
        • legAngX
        • legAngY
        • legLen
        • line
        • ln
        • loft
        • log
        • log10
        • log2
        • map
        • max
        • min
        • mirror2d
        • offsetPlane
        • parabolic
        • parabolicPoint
        • patternCircular2d
        • patternCircular3d
        • patternLinear2d
        • patternLinear3d
        • patternTransform
        • patternTransform2d
        • planeOf
        • polar
        • polygon
        • pop
        • pow
        • profileStart
        • profileStartX
        • profileStartY
        • push
        • rectangle
        • reduce
        • rem
        • revolve
        • rotate
        • round
        • scale
        • segAng
        • segEnd
        • segEndX
        • segEndY
        • segLen
        • segStart
        • segStartX
        • segStartY
        • shell
        • sin
        • sqrt
        • startProfile
        • startSketchOn
        • subtract
        • subtract2d
        • sweep
        • tan
        • tangentialArc
        • tangentToEnd
        • translate
        • union
        • units::toCentimeters
        • units::toDegrees
        • units::toFeet
        • units::toInches
        • units::toMeters
        • units::toMillimeters
        • units::toRadians
        • units::toYards
        • vector::add
        • vector::cross
        • vector::div
        • vector::dot
        • vector::magnitude
        • vector::mul
        • vector::normalize
        • vector::sub
        • xLine
        • yLine
        • any
        • Axis2d
        • Axis3d
        • bool
        • cm
        • deg
        • Edge
        • Face
        • fn
        • ft
        • GdtAnnotation
        • Helix
        • ImportedGeometry
        • in
        • m
        • mm
        • none
        • number
        • Plane
        • Point2d
        • Point3d
        • rad
        • Segment
        • Sketch
        • Solid
        • string
        • tag
        • TagDecl
        • TaggedEdge
        • TaggedFace
        • yd
        • appearance
        • array
        • gdt
        • hole
        • math
        • sketch
        • solid
        • std
        • sweep
        • transform
        • turns
        • types
        • units
        • vector
        • E
        • END
        • MERGE
        • NEW
        • PI
        • SOLID
        • START
        • SURFACE
        • sweep::SKETCH_PLANE
        • sweep::TRAJECTORY
        • TAU
        • turns::HALF_TURN
        • turns::QUARTER_TURN
        • turns::THREE_QUARTER_TURN
        • turns::ZERO
        • X
        • XY
        • XZ
        • Y
        • YZ
        • Z
  • Glossary
  • FAQ
Docs Home
/
KCL Standard Library
/
Functions
/
ln

lnFunction in std::math

Compute the natural logarithm of the number.

Arguments

NameTypeDescriptionRequired
inputnumberA number.Yes

Returns

number - A number.

Examples

Found a typo?
Zoo

8701 Aviation Blvd

Inglewood, California 90301

    Product
  • Zoo Design Studio
  • Text-to-CAD
  • Download App
  • Release Notes
    Company
  • Enterprise
  • Careers
  • Research
  • Blog
  • Contact sales
    Pricing
  • Zoo Design Pricing
  • API Pricing
    Resources
  • Tutorials
  • Developers
  • Support
  • Terms & Conditions
  • Privacy Policy
  • Security
  • Trust Center

Copyright © 2026 ZOO CORPORATION All rights reserved.