1.2.32 • Published 7 years ago

@clarketm/supernumber v1.2.32

Weekly downloads
2
License
MIT
Repository
-
Last release
7 years ago

Number

NPM release

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

NameTypeAttributeDescription
strstringRoman numeral

toRomanNumeral(): string

Convert a number to roman numeral

isNumber(str: string): boolean

Test if a string is a valid number

NameTypeAttributeDescription
strstring– string representation of a number
1.2.32

7 years ago

1.2.31

7 years ago

1.2.25

7 years ago

1.2.24

7 years ago

1.2.20

7 years ago

1.2.18

7 years ago

1.2.17

7 years ago

1.2.16

7 years ago

1.2.15

7 years ago

1.2.14

7 years ago

1.2.13

7 years ago

1.2.11

7 years ago

1.2.6

7 years ago

1.2.5

7 years ago

1.2.4

7 years ago

1.2.2

7 years ago

1.2.1

7 years ago

0.0.1

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago

0.0.0

7 years ago