<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@csstools/css-tokenizer](./css-tokenizer.md) &gt; [TokenNumber](./css-tokenizer.tokennumber.md)

## TokenNumber interface

**Signature:**

```typescript
export interface TokenNumber extends Token<TokenType.Number, {
    value: number;
    type: NumberType;
    signCharacter?: '+' | '-';
}> 
```
**Extends:** [Token](./css-tokenizer.token.md)<!-- -->&lt;[TokenType.Number](./css-tokenizer.tokentype.md)<!-- -->, { value: number; type: [NumberType](./css-tokenizer.numbertype.md)<!-- -->; signCharacter?: '+' \| '-'; }&gt;

## Properties

<table><thead><tr><th>

Property


</th><th>

Modifiers


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

[signCharacter?](./css-tokenizer.tokennumber.signcharacter.md)


</td><td>


</td><td>

'+' \| '-'


</td><td>

_(Optional)_ The sign character as it appeared in the source. This is only useful if you need to determine if a value was written as "2" or "+2".


</td></tr>
<tr><td>

[type](./css-tokenizer.tokennumber.type.md)


</td><td>


</td><td>

[NumberType](./css-tokenizer.numbertype.md)


</td><td>

`integer` or `number`


</td></tr>
<tr><td>

[value](./css-tokenizer.tokennumber.value.md)


</td><td>


</td><td>

number


</td><td>

The numeric value.


</td></tr>
</tbody></table>

