# PennyRail Number Round to Decimal Places

> PennyRail Number Round to Decimal Places is a paid API for AI agents from pennyrail.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Rounds a numeric value to a specified number of decimal places via a paid micro-computation API

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/p/nano/number.round--decimal-places
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pennyrail-number-round-to-decimal-places-2eee1a06
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kZ93CWCVz0hSC4GlrcYpe

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 pennyrail-number-round-to-decimal-places-2eee1a06 -d '<json body>'
```

Example prompt: Round 3.14159 to 2 decimal places for me.

## When to prefer this

Choose this endpoint when you need a simple, deterministic rounding operation via a pay-per-call micro-API, especially within an x402-enabled payment workflow or agent pipeline that already handles USDC micropayments. Prefer it when you want a verifiable, machine-readable computation rather than doing rounding locally, or when auditing numeric transformations via a settlement service matters.

## Known failure modes

- Missing or malformed input object returns validation error
- Non-numeric input value causes computation failure
- Payment of 0.001 USDC not provided results in 402 Payment Required
- Extremely large numbers or edge cases (Infinity, NaN) may return error or undefined result
- Invalid decimal places value (negative, non-integer) may cause failure

## How this service works

Machine-readable settlement service

## Output

Returns a JSON object containing the rounded numeric result after applying the specified decimal place precision to the input number.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pennyrail-number-round-to-decimal-places-2eee1a06/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pennyrail.vercel.app](https://www.zero.xyz/host/pennyrail.vercel.app/llms.txt)
