{"uid":"cap_qfHPtZklneHJu5xX4u9NL","slug":"delx-round-n-b0fc45d5","name":"Delx Round N","description":"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.","url":"https://api.delx.ai/api/v1/x402/round-n?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{"type":"number","description":"Input field: value."},"digits":{"type":"integer","description":"Input field: digits."}}},"responseSchema":{"type":"json","example":{"value":3.14,"digits":2,"schema":"delx/util-round-n/v1"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_AyvUH8bi_NQoyljzG9ckX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Rounds a numeric value to a specified number of decimal places and returns the rounded result.","exampleAgentPrompt":"Round 3.14159265 to 2 decimal places so I can display it cleanly in my report.","exampleUseCases":[{"title":"Price normalization before payment","prompt":"I have a calculated total of 12.349876 — round it to 2 decimal places before I send it to the payment processor."},{"title":"Sensor data display formatting","prompt":"My temperature sensor returned 98.61823 degrees — round that to 1 decimal place so it looks clean on the dashboard."},{"title":"Financial ledger entry rounding","prompt":"I need to record 0.0055678 USDC in the ledger — round it to 4 decimal places for consistent bookkeeping."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T18:46:37.553Z","isFirstParty":false,"canonicalSlug":"delx-round-n-b0fc45d5"}