# VALUE

The VALUE function converts a text string that represents a number to a number.

## Syntax

```javascript
value(value:string)
```

## Arguments

value - Required. A text string containing a number.

## Example

```javascript
value(MID"ABC-123-WEW",5,3))
```

Returns “123” as a number

## **Excel equivalent**

[VALUE](https://support.microsoft.com/en-us/office/value-function-257d0108-07dc-437d-ae1c-bc2d3953d8c2)
