BIM.works SDKs - v3.0.0-beta.168
    Preparing search index...

    A quantity that parsed

    interface ParsedQuantity {
        assumedUnit: string | null;
        exact: boolean;
        kind: QuantityKind;
        ok: true;
        typedUnit: string | null;
        unit: string;
        value: number;
    }
    Index

    Properties

    assumedUnit: string | null

    The unit taken for a bare number; null when a unit was typed

    exact: boolean

    Whether the value has at most 3 decimals in the typed unit (inches for "ft-in")

    ok: true
    typedUnit: string | null

    The unit typed: a symbol, "ft-in" for feet with inches, "mixed" for other combinations, null for a bare number

    unit: string

    The canonical unit's symbol

    value: number

    In the canonical unit of the kind: mm, degrees, mm², mm³