# ★ Constructor

## `Number()`

Creates the [`Number`](https://range.angular-package.dev/draft/number) instance of the given primitive [`value`](#value-value).

{% code title="number.class.ts" %}

```typescript
constructor(value: Value) {
  super(value);
}
```

{% endcode %}

### `Parameters`

#### `value:`[<mark style="color:green;">`Value`</mark>](https://range.angular-package.dev/draft/minimum/generic-type-variables#minimum-less-than-value-greater-than)

The value of the generic type variable [`Value`](https://range.angular-package.dev/draft/generic-type-variables#number-less-than-value-greater-than) is the primitive value of the new instance.

## Example usage

```typescript
// Example usage.
import { Number } from '@angular-package/range';

// Define constant `id`.
const id = 390;

// Returns Number {390} of Number<390>.
new Number(id);
```
