{"uid":"cap_kZ93CWCVz0hSC4GlrcYpe","slug":"pennyrail-number-round-to-decimal-places-2eee1a06","name":"PennyRail Number Round to Decimal Places","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/p/nano/number.round--decimal-places","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_3vkCYx-r9AkJZ9Nblgk4d","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 micro-computation API","exampleAgentPrompt":"Round 3.14159 to 2 decimal places for me.","exampleUseCases":[{"title":"Currency amount rounding for checkout","prompt":"I need to round 19.9967 to 2 decimal places so I can display the correct price at checkout."},{"title":"Scientific measurement precision formatting","prompt":"Can you round 0.000456789 to 4 decimal places for my lab report?"},{"title":"Score normalization for leaderboard","prompt":"Take this player score of 98.76543 and round it to 1 decimal place for the leaderboard display."}],"resultDescription":"Returns a JSON object containing the rounded numeric result after applying the specified decimal place precision to the input number.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:35:08.958Z","isFirstParty":false}