- Preparing search index...
- The search index is not available
akaba-tool
Properties
nanText
nanText: string = "-"
Private
splitList
Methods
addItemUnitNumber
- addItemUnitNumber(unit: string, splitNumber: number, compareNumber?: number): NumberUnitSpliter
-
Parameters
-
unit: string
-
splitNumber: number
-
Optional
compareNumber: number
findByCompareNumber
- findByCompareNumber(num: number): null | Required<InputSplitReferItem>
-
findBySplitNumber
- findBySplitNumber(num: number): null | Required<InputSplitReferItem>
-
floatNum
- floatNum(input: any, precise?: number): string
-
Parameters
-
input: any
-
precise: number = 2
Returns string
getFirstMatchItem
- getFirstMatchItem(num: number): null | Required<InputSplitReferItem>
-
getSplitList
- getSplitList(num: number): SplitResultItem[]
-
removeByCompareNumber
- removeByCompareNumber(num: number): NumberUnitSpliter
-
removeBySplitNumber
- removeBySplitNumber(num: number): NumberUnitSpliter
-
stringify
- stringify(num: number): string
-
Returns string
stringifyAsPreciseNum
- stringifyAsPreciseNum(input: any, precise?: number): string
-
Parameters
-
input: any
-
precise: number = 2
Returns string
Static
doSort
- doSort(list: Required<InputSplitReferItem>[]): void
-
Returns void
Since
1.3.4