formatDecimal
Returns a formatted string that represents the decimal value after being formatted.
Syntax
context.formatting.formatDecimal(value, precision);
Available for
Model-driven and canvas apps
Parameters
Parameter Name | Type | Required | Description |
---|---|---|---|
value | number |
Yes | The date to be formatted. |
precision | number |
Yes | The number of digits after decimal point. |
Return Value
Type: string
Related articles
Formatting
Power Apps component framework API reference
Power Apps component framework overview
Palaute
https://aka.ms/ContentUserFeedback.
Tulossa pian: Vuoden 2024 aikana poistamme asteittain GitHub Issuesin käytöstä sisällön palautemekanismina ja korvaamme sen uudella palautejärjestelmällä. Lisätietoja on täällä:Lähetä ja näytä palaute kohteelle