# AbbreviatedNumberFormatterAPI (widget methods): World of Warcraft Forever API

Forever 1.60.1 (70959), Interface 16001, Lua 5.1, from Blizzard's own API documentation. Page: https://wowaddons.gg/forever-api/AbbreviatedNumberFormatterAPI

## Functions

### AddBreakpoint

```lua
self:AddBreakpoint(breakpoint)
```

Adds a new breakpoint to the formatter.

Arguments:
- `breakpoint`: NumberAbbreviationBreakpoint

### ClearBreakpoints

```lua
self:ClearBreakpoints()
```

Removes all configured breakpoints from the formatter.

### Copy

```lua
copy = self:Copy()
```

Returns a new copy of this formatter.

Returns:
- `copy`: AbbreviatedNumberFormatter

### GetBreakpoints

```lua
breakpoints = self:GetBreakpoints()
```

Returns a list of all configured breakpoints on this formatter.

Returns:
- `breakpoints`: NumberAbbreviationBreakpoint[]

### ResetBreakpoints

```lua
self:ResetBreakpoints()
```

Removes all configured breakpoints from the formatter and replaces them with appropriate defaults for the client locale.

### SetBreakpoints

```lua
self:SetBreakpoints(breakpoints)
```

Replaces all breakpoints on the formatter.

Arguments:
- `breakpoints`: NumberAbbreviationBreakpoint[]

---
Make an addon with your AI: tell it "Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it."
