# ONE Engine Number Rounding

> ONE Engine Number Rounding is a paid API for AI agents from one-search.one-engine.workers.dev, paid per call via x402, $0.0009/call, status unknown (last checked 2026-10-02).

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

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v1/number/round?utm_source=zero.xyz
- Price: $0.0009/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/one-engine-number-rounding-43f01dc3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1w1ircDMb7RQhYitXmt99

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 one-engine-number-rounding-43f01dc3 -d '<json body>'
```

Example prompt: Round the number 12.3456 to 2 decimal places for me.

## When to prefer this

Choose this endpoint when an AI agent needs deterministic, server-side numeric rounding to a precise number of decimal places, especially in micropayment-friendly agentic pipelines already using the x402/Base payment protocol. Useful when you want a lightweight, pay-per-call utility rather than embedding rounding logic client-side.

## Known failure modes

- Missing 'value' field returns a validation error
- 'digits' outside range 0–12 is rejected
- Non-numeric input for 'value' causes a parse error
- Network or payment failure returns a 402 or 5xx error

## How this service works

Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.

## Output

A JSON object containing a single field 'value' with the rounded numeric result, e.g. {"value": 12.35}.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "value": {
   "type": "number"
  },
  "digits": {
   "type": "integer",
   "maximum": 12,
   "minimum": 0
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "value": 12.35
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/one-engine-number-rounding-43f01dc3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from one-search.one-engine.workers.dev](https://www.zero.xyz/host/one-search.one-engine.workers.dev/llms.txt)
