easy-util-tools
  • 👋Welcome to easy-util-tools
  • baseClass(基本类)
    • Color(颜色)
    • Point(点)
    • Line(线)
    • Circle(圆)
    • Rectangle(矩形)
    • Gradient(渐变色)
    • TimeMonitoring(时间统计)
  • utils(工具)
    • formatAmount(格式金额)
    • getStandardCoordinate
Powered by GitBook
On this page
  1. utils(工具)

formatAmount(格式金额)

// Import the module
import {utils} from 'easy-util-tools'
/**
 * 格式化金额
 * Format the amount
 * @param data
 * @param formatSymbols
 */
let amount = utils.formatAmount(2322.2)
Previousutils(工具)NextgetStandardCoordinate

Last updated 2 years ago