Generated wrapper for the Web Awesome wa-format-number component.
Generated from Web Awesome metadata.
Usage
wa_format_number(
...,
id = NULL,
class = NULL,
style = NULL,
value = NULL,
currency = NULL,
currency_display = NULL,
dir = NULL,
lang = NULL,
maximum_fraction_digits = NULL,
maximum_significant_digits = NULL,
minimum_fraction_digits = NULL,
minimum_integer_digits = NULL,
minimum_significant_digits = NULL,
type = NULL,
without_grouping = NULL
)Arguments
- ...
Child content for the component's default slot.
- id
Optional DOM id attribute for HTML, CSS, and JS targeting.
- class
Optional CSS class string.
- style
Optional inline CSS style string.
- value
Number. Default:
0. The number to format.- currency
String. Default:
USD. The ISO 4217 currency code to use when formatting.- currency_display
Enumerated string. Allowed values:
code,name,narrowSymbol,symbol. Default:symbol. How to display the currency.- dir
String. Optional Web Awesome attribute.
- lang
String. Optional Web Awesome attribute.
- maximum_fraction_digits
Number. The maximum number of fraction digits to use. Possible values are 0-100.
- maximum_significant_digits
Number. The maximum number of significant digits to use,. Possible values are 1-21.
- minimum_fraction_digits
Number. The minimum number of fraction digits to use. Possible values are 0-100.
- minimum_integer_digits
Number. The minimum number of integer digits to use. Possible values are 1-21.
- minimum_significant_digits
Number. The minimum number of significant digits to use. Possible values are 1-21.
- type
Enumerated string. Allowed values:
currency,decimal,percent. Default:decimal. The formatting style to use.- without_grouping
Boolean. Default:
FALSE. Turns off grouping separators.