formatCurrency
Returns a formatted string that represents the currency value after being formatted.
Available for
Model-driven and canvas apps
Syntax
context.formatting.formatCurrency(value, precision, symbol)
Parameters
Parameter Name | Type | Required | Description |
---|---|---|---|
value | number |
yes | A value to be formatted. |
precision | number |
yes | The number of digits after decimal point. |
symbol | string |
yes | The currency symbol/code to be added with currency value. |
Return Value
Type: string
Related articles
Formatting
Power Apps component framework API reference
Power Apps component framework overview
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro