Files
modeling-app/docs/kcl/ln.md
Paul Tagliamonte e1c45bdb33 Start to rework some of our kcl docs (#3222)
* Start to rework some of our kcl docs

Signed-off-by: Paul R. Tagliamonte <paul@zoo.dev>
2024-08-06 20:27:26 -04:00

166 KiB

title, excerpt, layout
title excerpt layout
ln Compute the natural logarithm of the number. manual

Compute the natural logarithm of the number.

ln(num: number) -> number

Tags

  • math

Examples

const exampleSketch = startSketchOn("XZ")
  |> startProfileAt([0, 0], %)
  |> line([ln(100), 15], %)
  |> line([5, -6], %)
  |> line([-10, -10], %)
  |> close(%)

const example = extrude(5, exampleSketch)

Rendered example of ln 0

Arguments

  • num: number (REQUIRED)

Returns

number