{"slug":"money-openverbs-com-v1-round-ff7f64","title":"Round an amount to a currency's minor units (or an explicit minorUnits) with a c","host":"money.openverbs.com","method":"POST","resource":"https://money.openverbs.com/v1/round","category":"other","description":"Round an amount to a currency's minor units (or an explicit minorUnits) with a chosen rounding mode: half-even (banker's, default), half-up, half-down, ceil, floor or trunc. Give a currency to derive minor units automatically (USD→2, JPY→0).","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":602,"reported_calls_30d":4,"reported_payers_30d":2,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"amount":1,"currency":"exa","minorUnits":1},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"amount":{"description":"The amount to round.","type":"number"},"currency":{"description":"ISO 4217 code used to derive minor units. Optional.","maxLength":3,"minLength":3,"type":"string"},"minorUnits":{"description":"Explicit number of minor-unit digits. Overrides currency. Default 2.","maximum":8,"minimum":0,"type":"integer"},"mode":{"description":"Rounding mode. Default half-even (banker's).","enum":["half-even","half-up","half-down","ceil","floor","trunc"],"type":"string"}},"required":["amount"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":602,"error":null}],"description_full":"Round an amount to a currency's minor units (or an explicit minorUnits) with a chosen rounding mode: half-even (banker's, default), half-up, half-down, ceil, floor or trunc. Give a currency to derive minor units automatically (USD→2, JPY→0).","last_updated":"2026-09-14T19:59:46.452Z","schemes":["exact"]}