---
name: "BIS_fnc_numberText"
type: function
status: ok
groups: ["Math", "Strings"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_numberText
revid: 336883
updated: 2023-01-04T16:43:51Z
---

# BIS_fnc_numberText

*Function · Math, Strings · Arma 3 v0.50 · introduced in Take On Helicopters v1.00*

## Description

Convert a number into string (avoiding scientific notation).

## Syntax

```sqf
[number, modulo] call BIS_fnc_numberText
```

**Parameters:**

- `number`: [Number](../topics/Number.md)
- `modulo`: [Number](../topics/Number.md) - (Optional, default 3)

**Returns:** [String](../topics/String.md)

## Examples

### Example 1

```sqf
[4096] call BIS_fnc_numberText; // "4 096"
```

### Example 2

```sqf
[512, 1] call BIS_fnc_numberText; // "5 1 2"
```

### Example 3

```sqf
[999999999999] call BIS_fnc_numberText; // "909 999 995 904"
```

### Example 4

```sqf
[1234.5678] call BIS_fnc_numberText; // "1 234"
```

## Problems

It is very imprecise with larger numbers. See [#Example 3](../functions/BIS_fnc_numberText.md#example-3). It also does not work with floating point numbers.

## See also

[BIS_fnc_numberDigits](../functions/BIS_fnc_numberDigits.md) · [BIS_fnc_cutDecimals](../functions/BIS_fnc_cutDecimals.md)

<sub>Source: [BI Community Wiki — BIS fnc numberText](https://community.bistudio.com/wiki/BIS_fnc_numberText) (revision 336883).</sub>
