Skip to content

@vtj


@vtj / base / numberFormat

Function: numberFormat()

numberFormat(value, format): string

数字格式化,默认2位小数

Parameters

value

number

format

string = '0.00'

Returns

string

Defined in

packages/base/src/numeral.ts:9

Released under the MIT License.