Hive
    Preparing search index...

    Function formatCountShortly

    • 格式化数量(以尽可能短的方式显示数量)

      Parameters

      • value: number
      • unit: string = ''

      Returns string

      formatCountShortly(100000) // 10万
      formatCountShortly(100000, '个') // 10万个