# Delx Round N

> Delx Round N is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-21).

Rounds a numeric value to a specified number of decimal places and returns the rounded result.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/round-n?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-round-n-b0fc45d5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qfHPtZklneHJu5xX4u9NL

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability delx-round-n-b0fc45d5 -d '<json body>'
```

Example prompt: Round 3.14159265 to 2 decimal places so I can display it cleanly in my report.

## When to prefer this

Choose this endpoint when you need a lightweight, deterministic, local rounding operation with no external dependencies or data retention — especially in agent pipelines that require stable numeric output before downstream payment or display steps. Prefer it over general-purpose math libraries when you want a pay-per-call auditable rounding step in an automated workflow.

## Known failure modes

- Missing or non-numeric 'value' field returns a validation error
- Non-integer or negative 'digits' field may return an error or unexpected result
- Payment failure via x402 prevents the call from completing
- Extremely large numbers or very high digit counts may produce precision edge cases

## How this service works

Round a number to N decimal places. Call when you need stable display/math rounding before paying downstream. Returns rounded value and digits for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.

## Output

Returns the rounded numeric value and the number of decimal digits applied, as a local JSON response with no external network calls or data retention.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "value": {
   "type": "number",
   "description": "Input field: value."
  },
  "digits": {
   "type": "integer",
   "description": "Input field: digits."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "value": 3.14,
  "digits": 2,
  "schema": "delx/util-round-n/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-round-n-b0fc45d5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
