• 千分位分隔字符或字符串

    Parameters

    • num: string | number

      需要被分隔的数字或者纯数字的字符串

    Returns string

    返回分隔后的字符

    Example

    import { numHelper } from "@pointcloud/pcloud-utils"
    numHelper.thousand('10212') // 10,212;

Generated using TypeDoc