Skip to main content

Module precision

Module precision 

Source
Expand description

Decimal-precision scales a description states for its own effect values.

Structsยง

EffectPrecisionScale
One effect value the description renders at reduced magnitude.

Constantsยง

MAX_PRECISION_DIVISOR ๐Ÿ”’
Guards the power-of-ten walk against a malformed literal.
MIN_PRECISION_DIVISOR ๐Ÿ”’
The smallest divisor that carries a decimal digit; ${$s1/1} states no extra precision.

Functionsยง

base_value_effect_index ๐Ÿ”’
collect_from_nodes ๐Ÿ”’
effect_precision_scales
Reads the decimal precision a description states for its own effect base values.
power_of_ten ๐Ÿ”’
The power-of-ten divisor a ${โ€ฆ / N} block states, if N is one.
precision_scale ๐Ÿ”’
renders_percentage ๐Ÿ”’
Whether the text right after an expression block starts the percentage it renders.