TemplateAttributeFormat

Contents

This object describes formatting options for numeric values.

Fields

unit (TemplateAttributeNumberFormat!)
The type of value this number is measuring. Many units require custom formatting (for example, numbers representing currency should display with an appropriate currency symbol).

Note that Shibumi does not provide any automatic conversion between these units; these values are used for display and formatting purposes only.

decimalPlaces (Int!)
The precision of the number; the number of digits that should be displayed after the decimal place.

Updated on September 9, 2025

Related Articles