Skip to content

@vtj


@vtj / node / numberFormat

Function: numberFormat()

numberFormat(value, format?): string

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

Parameters

value

number

format?

string

Returns

string

Defined in

packages/base/types/numeral.d.ts:8

Released under the MIT License.