FlowBL/src/utils/formatter.ts

8 lines
198 B
TypeScript
Raw Normal View History

import { floatToFixed2 } from '@/utils'
// 格式化金额【分转元】
// @ts-ignore
export const fenToYuanFormat = (_, __, cellValue: any, ___) => {
return `${floatToFixed2(cellValue)}`
}