Sign up
    Docs
    • API
    • CLI
    • KCL language reference
    • KCL standard library
      • ::array
      • ::math
      • ::sketch
      • ::solid
      • ::transform
      • ::turns
      • ::types
        • any
        • Axis2d
        • Axis3d
        • bool
        • Edge
        • Face
        • Helix
        • number
        • Plane
        • Point2d
        • Point3d
        • Sketch
        • Solid
        • string
        • tag
      • ::units
      • appearance
      • assert
      • assertIs
      • clone
      • END
      • helix
      • offsetPlane
      • patternLinear2d
      • START
      • X
      • XY
      • XZ
      • Y
      • YZ
      • Z
    • KCL Samples
    • Tutorials
    • Glossary
    • FAQ
    kcl library reference → std → types → number

    numberType in std::types

    A number

    May be signed or unsigned, an integer or decimal value.

    You may see a number type with units, e.g., number(mm). These are currently experimental.