---
name: "xpay-math-round"
description: "Rounds a number to the nearest integer"
version: "1.0.0"
price: "$0.01/call"
provider: "Math"
---

# Round

Rounds a number to the nearest integer

**Provider:** Math
**Price:** $0.01/call
**Pricing model:** Flat rate per call

## When to Use

Use this tool when you need to rounds a number to the nearest integer. This is part of the Math provider on xpay✦.

## MCP Connection

Connect to xpay✦ to access this tool (and 21+ others):

```json
{
  "mcpServers": {
    "xpay": {
      "url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}
```

For Claude Code:
```bash
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
```

## How to Execute

Use the xpay✦ meta-tools to run this tool:

1. **`xpay_details`** — Get full input schema: `xpay_details("math/round")`
2. **`xpay_run`** — Execute: `xpay_run("math/round", { ...inputs })`

## Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `number` | number | Yes | The number to round |

## Pricing

- **Cost:** $0.01/call
- **Balance check:** Use `xpay_balance` to check remaining credits
- Get your API key at [xpay.tools](https://xpay.tools/account/settings/api-keys/) — $5 free credits included

## Related Skills

- [Math (all tools)](https://xpay.tools/skills/math/SKILL.md) — 22 tools
- [Add](https://xpay.tools/skills/math/add/SKILL.md) — $0.01/call
- [Subtract](https://xpay.tools/skills/math/subtract/SKILL.md) — $0.01/call
- [Multiply](https://xpay.tools/skills/math/multiply/SKILL.md) — $0.01/call
- [Division](https://xpay.tools/skills/math/division/SKILL.md) — $0.01/call
- [Sum](https://xpay.tools/skills/math/sum/SKILL.md) — $0.01/call

## Links

- Tool page: https://xpay.tools/math/round/
- Provider: https://xpay.tools/math/
- All tools: https://xpay.tools/explore
