Files
modeling-app/docs/kcl/const_std-math-E.md
Nick Cameron af146284b6 Share instances of the std prelude (#5448)
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2025-02-25 16:10:06 +13:00

79 KiB
Raw Blame History

title, excerpt, layout
title excerpt layout
std::math::E The value of Eulers number `e`. manual

The value of Eulers number e.

std::math::E: number = 2.71828182845904523536028747135266250_

Examples

exampleSketch = startSketchOn("XZ")
  |> startProfileAt([0, 0], %)
  |> angledLine({
    angle = 30,
    length = 2 * E ^ 2,
  }, %)
  |> yLineTo(0, %)
  |> close()

example = extrude(exampleSketch, length = 10)

Rendered example of std::math::E 0