{"uid":"cap_1cYW_GBLKBV-D7z1EKsgV","slug":"pennyrail-number-round-round-decimals-78ef69b1","name":"PennyRail Number Round – Round Decimals","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/p/nano/number.round--round-decimals?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"object"}}},"responseSchema":{"type":"object","additionalProperties":true},"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_bfBdkYG-8HPcH6CpaMsxD","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 via a paid microservice API","exampleAgentPrompt":"Round the number 3.14159 to 2 decimal places for me.","exampleUseCases":[{"title":"Round currency value to cents","prompt":"I have a calculated price of 19.9867 dollars — can you round that to exactly 2 decimal places so it shows as a clean currency amount?"},{"title":"Normalize measurement precision","prompt":"I've got a sensor reading of 0.123456789 meters and I need it rounded to 4 decimal places for my report."},{"title":"Format percentage for display","prompt":"My computed percentage is 67.3333333 — please round it to 1 decimal place so I can display it cleanly on the dashboard."}],"resultDescription":"Returns a JSON object containing the rounded numeric result after applying the specified decimal rounding operation to the input number.","failureModes":["Missing or malformed 'input' object returns a 400-level error","Non-numeric input value causes computation failure","Negative decimal place count may produce unexpected behavior","Payment failure (insufficient USDC balance) results in 402 response blocking the call"],"whenToPreferThis":"Choose this endpoint when you need a simple, paid microservice call to round a number to a specific decimal precision, especially within an x402 payment-enabled agent workflow where per-call micropayments are acceptable and you want a stateless, deterministic numeric operation without spinning up local computation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T18:43:49.213Z","isFirstParty":false,"canonicalSlug":"pennyrail-number-round-round-decimals-78ef69b1"}