d4d41701ab
(cherry picked from commit b08e0e5ab2
)
8 lines
198 B
TypeScript
8 lines
198 B
TypeScript
import { floatToFixed2 } from '@/utils'
|
|
|
|
// 格式化金额【分转元】
|
|
// @ts-ignore
|
|
export const fenToYuanFormat = (_, __, cellValue: any, ___) => {
|
|
return `¥${floatToFixed2(cellValue)}`
|
|
}
|