1.2.32 • Published 5 years ago
@clarketm/supernumber v1.2.32
Number
Number with superpowers! 💪
This data structure inherit all methods and properties from the
Number
built-in.
Individual Module Installation
Yarn
$ yarn add @clarketm/supernumber
Npm
$ npm install @clarketm/supernumber --save
API
constructor(number: number)
Construct a Number
fromRomanNumeral(str: string): number
Convert a roman numeral to number
Name | Type | Attribute | Description |
---|---|---|---|
str | string | Roman numeral |
toRomanNumeral(): string
Convert a number to roman numeral
isNumber(str: string): boolean
Test if a string is a valid number
Name | Type | Attribute | Description |
---|---|---|---|
str | string | – string representation of a number |
1.2.32
5 years ago
1.2.31
6 years ago
1.2.25
6 years ago
1.2.24
6 years ago
1.2.20
6 years ago
1.2.18
6 years ago
1.2.17
6 years ago
1.2.16
6 years ago
1.2.15
6 years ago
1.2.14
6 years ago
1.2.13
6 years ago
1.2.11
6 years ago
1.2.6
6 years ago
1.2.5
6 years ago
1.2.4
6 years ago
1.2.2
6 years ago
1.2.1
6 years ago
0.0.1
6 years ago
1.1.0
6 years ago
1.0.0
6 years ago
0.0.0
6 years ago