> For the complete documentation index, see [llms.txt](https://osl.mistium.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://osl.mistium.com/legacy-osl-originos/prototype-helpers/.padend.md).

# number.padEnd

> ⚠️ **Not a number method.** `.padEnd()` works only on strings. See [strings/.padend.md](https://github.com/Mistium/OSL-Docs/blob/main/methods/strings/.padend.md).

## Description

Converts the number to a **string** and pads on the **right** with `val` until the result reaches `num` characters.

## Parameters

* **val** - padding string.
* **num** - total desired length.

## Usage

```javascript
log 123.padEnd("0",5) // "12300"
```
