{"uid":"cap_HriEOK2h0BMLrk-Bz7YaK","slug":"delx-floor-n-14a5beb6","name":"Delx Floor N","description":"Floor a number to integer. Call when you need whole units from continuous values. Returns floored integer value 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/floor-n","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{"type":"number","description":"Input field: value."}}},"responseSchema":{"type":"json","example":{"value":3,"schema":"delx/util-floor-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_44z12OxHQ0RnBK7BvG29Z","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":"Floors a numeric value to its nearest lower integer using a micropayment-gated API endpoint.","exampleAgentPrompt":"What's the floor of 7.83? Just give me the integer result rounded down.","exampleUseCases":[{"title":"Flooring a price per unit","prompt":"I have a price of $14.67 per unit — can you floor that down to the nearest whole dollar so I get 14?"},{"title":"Whole-step progress calculation","prompt":"My progress metric came back as 63.91 out of 100 — floor it to a whole number for display in the dashboard."},{"title":"Negative float flooring","prompt":"What's the floor of -5.2? I need the largest integer that's still less than or equal to that value."}],"resultDescription":"Returns a JSON object containing the floored integer value of the input number — for example, 7.9 becomes 7 and -2.1 becomes -3. No additional metadata or state is stored.","failureModes":["Missing or non-numeric 'value' field returns a validation error","Payment not completed or insufficient USDC balance results in a 402 Payment Required response","Network timeout if the Base payment layer is slow to confirm","Passing a non-finite value (NaN, Infinity) may cause an error or unexpected result"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, stateless floor operation in an agent pipeline that already uses x402 micropayments on Base and wants a lightweight, zero-setup math utility — particularly when you cannot or do not want to execute arbitrary code locally, or when standardizing numeric rounding behavior across distributed agents.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:14:56.903Z","isFirstParty":false}