formatCurrency

返回一个格式化字符串,表示格式化后的货币值。

适用于

模型驱动和画布应用

Syntax

context.formatting.formatCurrency(value, precision, symbol)

参数

参数名称 类型 必选 Description
value number 是的 要设置格式的值。
精准率 number 是的 小数点后的位数。
符号 string 是的 要添加货币值的货币符号/代码。

返回值

类型:string

格式设置
Power Apps 组件框架 API 参考
Power Apps 组件框架概述