Skip to main content

PERCENT

Kind: Constant
Domain: Expressions, units, and tolerances
Canonical import: from cadflow import PERCENT

Signature

PERCENT: Unit = Unit(symbol='%', dimension=Dimension(length=0, angle=0), scale_to_canonical=0.01)

Description

Named unit with a scale to CadFlow's canonical numeric units.

Named unit with a scale to CadFlow's canonical numeric units.

Custom units are supported and serialize their symbol, dimension, and scale. Registered built-in units serialize as compact symbols.

Errors

The source docstring does not declare a narrower exception contract. Invalid types, values, ownership, paths, or backend state may still raise the corresponding public error.

Behavior and constraints

  • Instances are immutable dataclass values; update workflows return a replacement value.

Import check

from cadflow import PERCENT

See also