Turn numbers written any way into a plain, consistent number.
The Numeric formatter turns a number as written in the document into a plain number: no currency symbols, no spaces, no thousand separators, and . as the decimal separator.
Float keeps decimals, Integer rounds to a whole number.
Limit number of decimals
Rounds to the given number of decimals and pads with zeros, so 2 turns 1234.5 into 1234.50. Without it, trailing zeros are dropped — 1000.00 becomes 1000.
Decimal separator on ambiguity
Which of . or , to read as the decimal separator when the value could be read either way. See Ambiguous separators.
Anything that is not a digit, separator or minus sign is removed first, so currency codes, symbols and stray text do not matter. A minus sign is kept only at the start.When a value contains both. and ,, the last one is the decimal separator:
When only one separator is present it may be either a decimal or a thousand separator. The formatter guesses from the digit grouping: a separator followed by exactly three digits is read as a thousand separator.
Value
Default
With separator set to Period
1,5
1.5
1.5
1.234
1234
1.234
1234.567
1234567
1234.567
The default is the right guess for 1.234 meaning one thousand two hundred and thirty-four, and the wrong one for a value with three decimals such as 1234.567. If your documents have three-decimal numbers — unit prices, weights, exchange rates — set Decimal separator on ambiguity to the separator your documents actually use.
If the value cannot be read as a number at all, the field is cleared and the formatter reports Unable to parse <value> as a number. The document then goes to human review. An empty value is left empty without an error.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Documentation","colors":{"primary":"#2E90FA","light":"#EFF8FF","dark":"#252B37"},"logo":{"light":"https://mintcdn.com/cradl-c8140fcc/h9Ef8u5tET66KGuX/logo/light.svg?fit=max\u0026auto=format\u0026n=h9Ef8u5tET66KGuX\u0026q=85\u0026s=d49a3c605c0eb8fc49893dd458647e26","dark":"https://mintcdn.com/cradl-c8140fcc/h9Ef8u5tET66KGuX/logo/dark.svg?fit=max\u0026auto=format\u0026n=h9Ef8u5tET66KGuX\u0026q=85\u0026s=bc71f8e0c4bdd2891dfaa26c307ca0f6"},"favicon":"https://mintcdn.com/cradl-c8140fcc/h9Ef8u5tET66KGuX/favicon.svg?fit=max\u0026auto=format\u0026n=h9Ef8u5tET66KGuX\u0026q=85\u0026s=a41e2899cf8dbe077a7d984452617ec3","appearance":{"default":"system"},"navbar":{"links":[{"href":"mailto:support@cradl.ai","label":"Support"}],"primary":{"type":"button","label":"Get started","href":"https://cal.com/cradlai/30min"}},"footer":{"socials":{"x":"https://x.com/cradl_ai","github":"https://github.com/cradlai","linkedin":"https://www.linkedin.com/company/cradl-ai"}},"integrations":{"mixpanel":{"projectToken":"096d4614527855934602f0346f3a764d"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Documentation","icon":"book-open-cover","href":"https://docs.cradl.ai/"},{"anchor":"Community","icon":"slack","href":"https://tally.so/r/3jAYEx"},{"anchor":"Tutorials","icon":"youtube","href":"https://www.youtube.com/@CradlAI"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cradl-c8140fcc","hasAudioNarration":false,"actualSubdomain":"cradl-c8140fcc","customDomains":["docs.cradl.ai"],"gitSource":{"type":"github","owner":"cradlai","repo":"cradl-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af1b92243046069736932c8","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"API Reference","count":163},{"language":"default","tag":"Endpoints","count":80},{"language":"default","tag":"Guides","count":28},{"language":"default","tag":"Core concepts","count":16},{"language":"default","tag":"AI Model","count":13},{"language":"default","tag":"Integrations","count":10},{"language":"default","tag":"Formatters","count":6},{"language":"default","tag":"Validators","count":5},{"language":"default","tag":"API Documentation","count":3},{"language":"default","tag":"Get Started","count":2}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"core-concepts/ai-model/numeric-formatter","slug":"/core-concepts/ai-model/numeric-formatter","pageMetadata":{"title":"Numeric","description":"Turn numbers written any way into a plain, consistent number.","href":"/core-concepts/ai-model/numeric-formatter"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Turn numbers written any way into a plain, consistent number.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Numeric`}),` formatter turns a number as written in the document into a plain number: no currency symbols, no spaces, no thousand separators, and `,_jsx(_components.code,{children:`.`}),` as the decimal separator.`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`1 234,56 -> 1234.56`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`USD 1,234 -> 1234`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`options`,children:`Options`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Option`}),_jsx(_components.th,{children:`What it does`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Numeric type`})}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Float`}),` keeps decimals, `,_jsx(_components.strong,{children:`Integer`}),` rounds to a whole number.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Limit number of decimals`})}),_jsxs(_components.td,{children:[`Rounds to the given number of decimals and pads with zeros, so `,_jsx(_components.code,{children:`2`}),` turns `,_jsx(_components.code,{children:`1234.5`}),` into `,_jsx(_components.code,{children:`1234.50`}),`. Without it, trailing zeros are dropped — `,_jsx(_components.code,{children:`1000.00`}),` becomes `,_jsx(_components.code,{children:`1000`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Decimal separator on ambiguity`})}),_jsxs(_components.td,{children:[`Which of `,_jsx(_components.code,{children:`.`}),` or `,_jsx(_components.code,{children:`,`}),` to read as the decimal separator when the value could be read either way. See `,_jsx(_components.a,{href:`#ambiguous-separators`,children:`Ambiguous separators`}),`.`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`how-values-are-read`,children:`How values are read`}),`\n`,_jsx(_components.p,{children:`Anything that is not a digit, separator or minus sign is removed first, so currency codes, symbols and stray text do not matter. A minus sign is kept only at the start.`}),`\n`,_jsxs(_components.p,{children:[`When a value contains `,_jsx(_components.strong,{children:`both`}),` `,_jsx(_components.code,{children:`.`}),` and `,_jsx(_components.code,{children:`,`}),`, the last one is the decimal separator:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Value`}),_jsx(_components.th,{children:`Becomes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`1,234.56`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`1234.56`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`12.345,67`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`12345.67`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`1.234.567,89`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`1234567.89`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`USD 1 000.00`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`1000`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`-1 000`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`-1000`})})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`ambiguous-separators`,children:`Ambiguous separators`}),`\n`,_jsx(_components.p,{children:`When only one separator is present it may be either a decimal or a thousand separator. The formatter guesses from the digit grouping: a separator followed by exactly three digits is read as a thousand separator.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Value`}),_jsx(_components.th,{children:`Default`}),_jsxs(_components.th,{children:[`With separator set to `,_jsx(_components.strong,{children:`Period`})]})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`1,5`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`1.5`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`1.5`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`1.234`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`1234`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`1.234`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`1234.567`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`1234567`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`1234.567`})})]})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`The default is the right guess for `,_jsx(_components.code,{children:`1.234`}),` meaning one thousand two hundred and thirty-four, and the wrong one for a value with three decimals such as `,_jsx(_components.code,{children:`1234.567`}),`. If your documents have three-decimal numbers — unit prices, weights, exchange rates — set `,_jsx(_components.strong,{children:`Decimal separator on ambiguity`}),` to the separator your documents actually use.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`when-it-fails`,children:`When it fails`}),`\n`,_jsxs(_components.p,{children:[`If the value cannot be read as a number at all, the field is cleared and the formatter reports `,_jsx(_components.code,{children:`Unable to parse \u003cvalue> as a number`}),`. The document then goes to human review. An empty value is left empty without an error.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Numeric","description":"Turn numbers written any way into a plain, consistent number.","href":"/core-concepts/ai-model/numeric-formatter"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Options","slug":"options","depth":2,"children":[]},{"title":"How values are read","slug":"how-values-are-read","depth":2,"children":[{"title":"Ambiguous separators","slug":"ambiguous-separators","depth":3,"children":[]}]},{"title":"When it fails","slug":"when-it-fails","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"cradl-c8140fcc","siteName":"Documentation","title":"Numeric - Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-01T11:35:08.113Z","originalFileLocation":"core-concepts/ai-model/numeric-formatter.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Turn numbers written any way into a plain, consistent number.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cradl-c8140fcc/IEBH0Ek1ZXBzQDT1/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/cradl-c8140fcc/IEBH0Ek1ZXBzQDT1/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cradl-c8140fcc/IEBH0Ek1ZXBzQDT1/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cradl-c8140fcc/IEBH0Ek1ZXBzQDT1/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cradl-c8140fcc/IEBH0Ek1ZXBzQDT1/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cradl-c8140fcc/IEBH0Ek1ZXBzQDT1/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cradl-c8140fcc/IEBH0Ek1ZXBzQDT1/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cradl-c8140fcc/IEBH0Ek1ZXBzQDT1/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cradl-c8140fcc/IEBH0Ek1ZXBzQDT1/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Numeric - Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Turn numbers written any way into a plain, consistent number.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.cradl.ai/core-concepts/ai-model/numeric-formatter\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cradl-c8140fcc.mintlify.site/_mintlify/api/og/v2?division=Formatters\u0026amp;title=Numeric\u0026amp;description=Turn+numbers+written+any+way+into+a+plain%2C+consistent+number.\u0026amp;theme=2f29a789d9e4d0312be50ae3\u0026amp;signature=01502acf294f6fda8bb836bcdb84d4b16c71cc26978bc1352c2311b9bfa6d72c\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Numeric - Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Turn numbers written any way into a plain, consistent number.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cradl-c8140fcc.mintlify.site/_mintlify/api/og/v2?division=Formatters\u0026amp;title=Numeric\u0026amp;description=Turn+numbers+written+any+way+into+a+plain%2C+consistent+number.\u0026amp;theme=2f29a789d9e4d0312be50ae3\u0026amp;signature=01502acf294f6fda8bb836bcdb84d4b16c71cc26978bc1352c2311b9bfa6d72c\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/cradl-c8140fcc/IEBH0Ek1ZXBzQDT1/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2E90FA\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.cradl.ai/core-concepts/ai-model/numeric-formatter\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/core-concepts/ai-model/numeric-formatter.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.cradl.ai/#organization\",\"name\":\"Documentation\",\"url\":\"https://docs.cradl.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cradl-c8140fcc/h9Ef8u5tET66KGuX/logo/light.svg?fit=max\u0026auto=format\u0026n=h9Ef8u5tET66KGuX\u0026q=85\u0026s=d49a3c605c0eb8fc49893dd458647e26\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.cradl.ai#website\",\"name\":\"Documentation\",\"url\":\"https://docs.cradl.ai\",\"publisher\":{\"@id\":\"https://docs.cradl.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.cradl.ai/core-concepts/ai-model/numeric-formatter#webpage\",\"url\":\"https://docs.cradl.ai/core-concepts/ai-model/numeric-formatter\",\"name\":\"Numeric\",\"description\":\"Turn numbers written any way into a plain, consistent number.\",\"dateModified\":\"2026-10-01T11:35:08.113Z\",\"isPartOf\":{\"@id\":\"https://docs.cradl.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.cradl.ai/core-concepts/ai-model/numeric-formatter#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.cradl.ai/core-concepts/ai-model/numeric-formatter#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Core concepts\",\"item\":\"https://docs.cradl.ai/core-concepts/runs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AI Model\",\"item\":\"https://docs.cradl.ai/core-concepts/ai-model/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Formatters\",\"item\":\"https://docs.cradl.ai/core-concepts/ai-model/formatters\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Numeric\",\"item\":\"https://docs.cradl.ai/core-concepts/ai-model/numeric-formatter\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.cradl.ai/core-concepts/ai-model/numeric-formatter#article\",\"headline\":\"Numeric\",\"name\":\"Numeric\",\"description\":\"Turn numbers written any way into a plain, consistent number.\",\"url\":\"https://docs.cradl.ai/core-concepts/ai-model/numeric-formatter\",\"mainEntityOfPage\":{\"@id\":\"https://docs.cradl.ai/core-concepts/ai-model/numeric-formatter#webpage\"},\"dateModified\":\"2026-10-01T11:35:08.113Z\",\"publisher\":{\"@id\":\"https://docs.cradl.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.cradl.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Documentation","nav":{"global":{"anchors":[{"anchor":"Documentation","icon":"book-open-cover","href":"https://docs.cradl.ai/"},{"anchor":"Community","icon":"slack","href":"https://tally.so/r/3jAYEx"},{"anchor":"Tutorials","icon":"youtube","href":"https://www.youtube.com/@CradlAI"}]},"tabs":[{"tab":"Guides","groups":[{"group":"Get Started","pages":[{"title":"Welcome to Cradl AI","icon":"hand-heart","sidebarTitle":"Introduction ","href":""},{"title":"Quickstart","icon":"rocket","href":"/quickstart"}]},{"group":"Core concepts","pages":[{"title":"Runs","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cradl-c8140fcc/icons/runs.svg","href":"/core-concepts/runs"},{"group":"AI Model","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cradl-c8140fcc/icons/ai-model.svg","pages":[{"title":"Overview","sidebarTitle":"Overview","href":"/core-concepts/ai-model/overview"},{"title":"Prompting","href":"/core-concepts/ai-model/prompting"},{"group":"Validators","pages":[{"title":"Validators","sidebarTitle":"Overview","href":"/core-concepts/ai-model/validators"},{"title":"Confidence threshold","href":"/core-concepts/ai-model/confidence-validator"},{"title":"Logical expression","href":"/core-concepts/ai-model/logical-expression-validator"},{"title":"RegExp","sidebarTitle":"RegExp (validator)","href":"/core-concepts/ai-model/regex-validator"},{"title":"Format validators","href":"/core-concepts/ai-model/format-validators"}]},{"group":"Formatters","pages":[{"title":"Formatters","sidebarTitle":"Overview","description":"Transform and normalize extracted values.","href":"/core-concepts/ai-model/formatters"},{"title":"Numeric","href":"/core-concepts/ai-model/numeric-formatter"},{"title":"Date","description":"Convert dates written in any style or language into ISO 8601.","href":"/core-concepts/ai-model/date-formatter"},{"title":"RegExp","sidebarTitle":"RegExp (formatter)","href":"/core-concepts/ai-model/regex-formatter"},{"title":"Classification","href":"/core-concepts/ai-model/classification-formatter"},{"title":"Match \u0026 Map","href":"/core-concepts/ai-model/match-and-map"}]}]},{"title":"Workflow builder","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cradl-c8140fcc/icons/workflow.svg","sidebarTitle":"Workflow builder","href":"/core-concepts/workflow"},{"title":"Human-in-the-loop ","icon":"user-check","sidebarTitle":"Human review UI","href":"/core-concepts/human-in-the-loop"}]},{"group":"Integrations","pages":[{"title":"n8n","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cradl-c8140fcc/icons/n8n.svg","href":"/integrations/n8n"},{"title":"Power Automate","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cradl-c8140fcc/icons/powerautomate.svg","href":"/integrations/powerautomate"},{"title":"Zapier","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cradl-c8140fcc/icons/zapier.svg","href":"/integrations/zapier"},{"title":"Make","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cradl-c8140fcc/icons/make.svg","href":"/integrations/make"},{"title":"Webhook","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cradl-c8140fcc/icons/webhook.svg","sidebarTitle":"Webhook","href":"/integrations/webhook"},{"title":"Mailhook","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cradl-c8140fcc/icons/email.svg","sidebarTitle":"Mailhook","href":"/integrations/email"},{"title":"Excel","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cradl-c8140fcc/icons/excel.svg","sidebarTitle":"Excel","href":"/integrations/excel"},{"title":"Google Drive","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cradl-c8140fcc/icons/googledrive.svg","href":"/integrations/googledrive"},{"title":"OneDrive","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cradl-c8140fcc/icons/onedrive.svg","href":"/integrations/onedrive"},{"title":"Google Sheets","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cradl-c8140fcc/icons/googlesheets.svg","href":"/integrations/googlesheets"}]},{"group":"Legal and Compliance","expanded":false,"pages":[{"title":"Description of Service","href":"/legal/dos"},{"title":"Data Processing Agreement","href":"/legal/dpa"},{"title":"End User License Agreement","href":"/legal/eula"},{"title":"Privacy Policy","href":"/legal/privacy-policy"},{"title":"Service Level Agreement","href":"/legal/sla"},{"title":"Terms of Service","href":"/legal/tos"},{"title":"Bug Bounty Program","href":"/legal/bug-bounty"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]}]},"basePath":"","title":"Numeric - Documentation","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":[],"chunks":[]}