{"uid":"cap_MDFrTfHQgiOzwem3hCIbJ","slug":"delx-is-float-string-09d7852d","name":"Delx Is Float String","description":"Check whether a string is a float. Call when you validate decimal form fields before parse. Returns valid boolean 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/is-float-str?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Input field: text."}}},"responseSchema":{"type":"json","example":{"text":"12.5","valid":true,"schema":"delx/util-is-float-str/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_qdfrVhGa8v-tKmOpibHs3","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":"Checks whether a given string represents a valid floating-point number, returning a boolean result.","exampleAgentPrompt":"Before I try to parse the price field, can you check if the string '3.14' is a valid float?","exampleUseCases":[{"title":"Form field validation before submission","prompt":"The user just typed '12.abc' into the price field — can you check if that's a valid float before I try to parse it and send the order?"},{"title":"CSV data cleaning pipeline","prompt":"I'm processing a CSV and the value in the 'amount' column is '0.0075' — can you verify it's a valid float so I know it's safe to parse?"},{"title":"Agent input sanitization","prompt":"Before passing the user-supplied measurement '−9.81' to my physics calculator, check whether it's actually a valid floating-point string."}],"resultDescription":"Returns a boolean indicating whether the provided text string is a valid floating-point number (true if it can be parsed as a float, false otherwise).","failureModes":["Missing or empty 'text' field returns an error or false","Non-string input types may cause schema validation errors","Network timeouts on the paid x402 endpoint","Payment failure if USDC balance is insufficient on Base"],"whenToPreferThis":"Use this endpoint when you need a fast, dependency-free float validation check inside an agent pipeline without writing custom regex or parser logic. Ideal for pre-validation of user-supplied decimal inputs (form fields, CSV values, API parameters) before attempting numeric conversion. Best suited for single string checks at minimal cost ($0.001 USDC).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T18:53:14.346Z","isFirstParty":false,"canonicalSlug":"delx-is-float-string-09d7852d"}