Skip to content

omit-unity-mantissa for exponent: "eng". #58

@MiledMFN

Description

@MiledMFN

I was looking for a way to apply omit-unity-mantissa for exponent: "eng" or through another approach, even by using a dictionary as num but it seems that isn't possible:

error: module parsing does not contain decompose-signed-float-string
   ┌─ @preview/zero:0.6.0\src\num.typ:96:38
   │
96 │       let (sign, int, frac) = parsing.decompose-signed-float-string(mantissa)
   │                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: error occurred in this function call
    ┌─ @preview/zero:0.6.0\src\num.typ:208:11
    │
208 │     return show-num(it)
    │            ^^^^^^^^^^^^
help: error occurred in this call of function num
    ┌─ @preview/zero:0.6.0\src\units.typ:320:4
    │
320 │     num(value, state: num-state, force-parentheses-around-uncertainty: true)
    │     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Any help, please.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions