{
  "$schema": "/products/haybarn/functions/api/v1/function.schema.json",
  "schemaVersion": 1,
  "name": "round",
  "schema": "main",
  "slug": "round",
  "description": "Rounds x to s decimal places",
  "category": "numeric",
  "kinds": [
    "scalar"
  ],
  "aliasOf": [],
  "snapshot": {
    "schemaVersion": 1,
    "id": "duckdb-1.5.6",
    "engine": "duckdb",
    "label": "DuckDB 1.5.6",
    "engineVersion": "v1.5.6",
    "sourceId": "069cc9f9b5",
    "source": "https://github.com/duckdb/duckdb/releases/tag/v1.5.6",
    "binarySha256": "2c75d4758c9d74cb0f4642f4e8d3c1a13e8a888a1e475fffd90934ad5ae3dd17",
    "capturedAt": "2026-10-15T15:04:49.978Z",
    "requestedExtensions": [
      "core_functions",
      "icu",
      "json",
      "parquet"
    ],
    "loadedExtensions": [
      {
        "extension_name": "autocomplete",
        "extension_version": "v1.5.6",
        "installed_from": ""
      },
      {
        "extension_name": "core_functions",
        "extension_version": "v1.5.6",
        "installed_from": "core"
      },
      {
        "extension_name": "icu",
        "extension_version": "v1.5.6",
        "installed_from": "core"
      },
      {
        "extension_name": "json",
        "extension_version": "v1.5.6",
        "installed_from": "core"
      },
      {
        "extension_name": "parquet",
        "extension_version": "v1.5.6",
        "installed_from": "core"
      },
      {
        "extension_name": "shell",
        "extension_version": "v1.5.6",
        "installed_from": ""
      }
    ],
    "scope": "Built-in functions in the main schema, with the requested extensions loaded. Catalog visibility is not a guarantee of browser support."
  },
  "links": {
    "html": "/products/haybarn/functions/releases/duckdb-1.5.6/round/",
    "markdown": "/products/haybarn/functions/releases/duckdb-1.5.6/round/index.md",
    "json": "/products/haybarn/functions/api/v1/duckdb-1.5.6/functions/round.json"
  },
  "interpretation": [
    "Choose a snapshot matching the target engine and build. The default is captured from the published Haybarn WASM package used by the browser playground. Historical native snapshots are also available.",
    "Availability is an observation in the recorded build and extension profile, not a guarantee of support in every installation or in WASM.",
    "Types and descriptions are declarations from duckdb_functions(). Binding can specialize result types. Null means not supplied by the catalog; do not invent defaults, optionality, argument mode, or table output columns.",
    "Raw parameter arrays preserve catalog order for scalar/aggregate/macro functions. Raw table arguments are alphabetical. Use callingConvention for engine-confirmed positional order and named arguments; null modes are unrecorded. Named does not mean optional. Macro defaults and special named variadic behavior are not supplied by duckdb_functions().",
    "Catalog examples are source material and may require data or extensions. runnableExamples contains separately verified SQL for the pinned WASM package; sample-data adaptations and guide examples are labeled separately.",
    "Guide annotations and recipes are separate editorial content. The browser runner always uses Haybarn WASM 1.5.6-rc6, independently of the documentation snapshot.",
    "All URLs beginning with / are relative to the origin hosting this document. Exports require no JavaScript, cookies, API key, or browser engine."
  ],
  "overloads": [
    {
      "id": "overload-197b63e23b1ee4df",
      "url": "/products/haybarn/functions/releases/duckdb-1.5.6/round/#overload-197b63e23b1ee4df",
      "signature": "round(x: BIGINT) → BIGINT",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "x",
            "type": "BIGINT",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "round",
        "function_type": "scalar",
        "description": "Rounds x to s decimal places",
        "comment": null,
        "return_type": "BIGINT",
        "parameters": [
          "x"
        ],
        "parameter_types": [
          "BIGINT"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "round(42.4332, 2)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": null
      }
    },
    {
      "id": "overload-a52745242179d318",
      "url": "/products/haybarn/functions/releases/duckdb-1.5.6/round/#overload-a52745242179d318",
      "signature": "round(x: DECIMAL) → DECIMAL",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "x",
            "type": "DECIMAL",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "round",
        "function_type": "scalar",
        "description": "Rounds x to s decimal places",
        "comment": null,
        "return_type": "DECIMAL",
        "parameters": [
          "x"
        ],
        "parameter_types": [
          "DECIMAL"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "round(42.4332, 2)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": null
      }
    },
    {
      "id": "overload-40076132fda8ab8a",
      "url": "/products/haybarn/functions/releases/duckdb-1.5.6/round/#overload-40076132fda8ab8a",
      "signature": "round(x: DOUBLE) → DOUBLE",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "x",
            "type": "DOUBLE",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "round",
        "function_type": "scalar",
        "description": "Rounds x to s decimal places",
        "comment": null,
        "return_type": "DOUBLE",
        "parameters": [
          "x"
        ],
        "parameter_types": [
          "DOUBLE"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "round(42.4332, 2)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": null
      }
    },
    {
      "id": "overload-d937de3ffbce8fc0",
      "url": "/products/haybarn/functions/releases/duckdb-1.5.6/round/#overload-d937de3ffbce8fc0",
      "signature": "round(x: FLOAT) → FLOAT",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "x",
            "type": "FLOAT",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "round",
        "function_type": "scalar",
        "description": "Rounds x to s decimal places",
        "comment": null,
        "return_type": "FLOAT",
        "parameters": [
          "x"
        ],
        "parameter_types": [
          "FLOAT"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "round(42.4332, 2)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": null
      }
    },
    {
      "id": "overload-027c3069b6bc288d",
      "url": "/products/haybarn/functions/releases/duckdb-1.5.6/round/#overload-027c3069b6bc288d",
      "signature": "round(x: HUGEINT) → HUGEINT",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "x",
            "type": "HUGEINT",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "round",
        "function_type": "scalar",
        "description": "Rounds x to s decimal places",
        "comment": null,
        "return_type": "HUGEINT",
        "parameters": [
          "x"
        ],
        "parameter_types": [
          "HUGEINT"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "round(42.4332, 2)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": null
      }
    },
    {
      "id": "overload-0114af8aa51f4524",
      "url": "/products/haybarn/functions/releases/duckdb-1.5.6/round/#overload-0114af8aa51f4524",
      "signature": "round(x: INTEGER) → INTEGER",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "x",
            "type": "INTEGER",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "round",
        "function_type": "scalar",
        "description": "Rounds x to s decimal places",
        "comment": null,
        "return_type": "INTEGER",
        "parameters": [
          "x"
        ],
        "parameter_types": [
          "INTEGER"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "round(42.4332, 2)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": null
      }
    },
    {
      "id": "overload-c9fadf1a9f037e1c",
      "url": "/products/haybarn/functions/releases/duckdb-1.5.6/round/#overload-c9fadf1a9f037e1c",
      "signature": "round(x: SMALLINT) → SMALLINT",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "x",
            "type": "SMALLINT",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "round",
        "function_type": "scalar",
        "description": "Rounds x to s decimal places",
        "comment": null,
        "return_type": "SMALLINT",
        "parameters": [
          "x"
        ],
        "parameter_types": [
          "SMALLINT"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "round(42.4332, 2)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": null
      }
    },
    {
      "id": "overload-f44296c4fac44208",
      "url": "/products/haybarn/functions/releases/duckdb-1.5.6/round/#overload-f44296c4fac44208",
      "signature": "round(x: TINYINT) → TINYINT",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "x",
            "type": "TINYINT",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "round",
        "function_type": "scalar",
        "description": "Rounds x to s decimal places",
        "comment": null,
        "return_type": "TINYINT",
        "parameters": [
          "x"
        ],
        "parameter_types": [
          "TINYINT"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "round(42.4332, 2)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": null
      }
    },
    {
      "id": "overload-b352100c5328fbb7",
      "url": "/products/haybarn/functions/releases/duckdb-1.5.6/round/#overload-b352100c5328fbb7",
      "signature": "round(x: BIGINT, precision: INTEGER) → BIGINT",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "x",
            "type": "BIGINT",
            "mode": null,
            "position": null
          },
          {
            "name": "precision",
            "type": "INTEGER",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "round",
        "function_type": "scalar",
        "description": "Rounds x to s decimal places",
        "comment": null,
        "return_type": "BIGINT",
        "parameters": [
          "x",
          "precision"
        ],
        "parameter_types": [
          "BIGINT",
          "INTEGER"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "round(42.4332, 2)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": null
      }
    },
    {
      "id": "overload-5e424245462b3105",
      "url": "/products/haybarn/functions/releases/duckdb-1.5.6/round/#overload-5e424245462b3105",
      "signature": "round(x: DECIMAL, precision: INTEGER) → DECIMAL",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "x",
            "type": "DECIMAL",
            "mode": null,
            "position": null
          },
          {
            "name": "precision",
            "type": "INTEGER",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "round",
        "function_type": "scalar",
        "description": "Rounds x to s decimal places",
        "comment": null,
        "return_type": "DECIMAL",
        "parameters": [
          "x",
          "precision"
        ],
        "parameter_types": [
          "DECIMAL",
          "INTEGER"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "round(42.4332, 2)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": null
      }
    },
    {
      "id": "overload-c3ad32986ade2927",
      "url": "/products/haybarn/functions/releases/duckdb-1.5.6/round/#overload-c3ad32986ade2927",
      "signature": "round(x: DOUBLE, precision: INTEGER) → DOUBLE",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "x",
            "type": "DOUBLE",
            "mode": null,
            "position": null
          },
          {
            "name": "precision",
            "type": "INTEGER",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "round",
        "function_type": "scalar",
        "description": "Rounds x to s decimal places",
        "comment": null,
        "return_type": "DOUBLE",
        "parameters": [
          "x",
          "precision"
        ],
        "parameter_types": [
          "DOUBLE",
          "INTEGER"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "round(42.4332, 2)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": null
      }
    },
    {
      "id": "overload-c732d9f74163832b",
      "url": "/products/haybarn/functions/releases/duckdb-1.5.6/round/#overload-c732d9f74163832b",
      "signature": "round(x: FLOAT, precision: INTEGER) → FLOAT",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "x",
            "type": "FLOAT",
            "mode": null,
            "position": null
          },
          {
            "name": "precision",
            "type": "INTEGER",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "round",
        "function_type": "scalar",
        "description": "Rounds x to s decimal places",
        "comment": null,
        "return_type": "FLOAT",
        "parameters": [
          "x",
          "precision"
        ],
        "parameter_types": [
          "FLOAT",
          "INTEGER"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "round(42.4332, 2)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": null
      }
    },
    {
      "id": "overload-88af24542533e28a",
      "url": "/products/haybarn/functions/releases/duckdb-1.5.6/round/#overload-88af24542533e28a",
      "signature": "round(x: HUGEINT, precision: INTEGER) → HUGEINT",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "x",
            "type": "HUGEINT",
            "mode": null,
            "position": null
          },
          {
            "name": "precision",
            "type": "INTEGER",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "round",
        "function_type": "scalar",
        "description": "Rounds x to s decimal places",
        "comment": null,
        "return_type": "HUGEINT",
        "parameters": [
          "x",
          "precision"
        ],
        "parameter_types": [
          "HUGEINT",
          "INTEGER"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "round(42.4332, 2)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": null
      }
    },
    {
      "id": "overload-0395ab159ea2faa8",
      "url": "/products/haybarn/functions/releases/duckdb-1.5.6/round/#overload-0395ab159ea2faa8",
      "signature": "round(x: INTEGER, precision: INTEGER) → INTEGER",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "x",
            "type": "INTEGER",
            "mode": null,
            "position": null
          },
          {
            "name": "precision",
            "type": "INTEGER",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "round",
        "function_type": "scalar",
        "description": "Rounds x to s decimal places",
        "comment": null,
        "return_type": "INTEGER",
        "parameters": [
          "x",
          "precision"
        ],
        "parameter_types": [
          "INTEGER",
          "INTEGER"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "round(42.4332, 2)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": null
      }
    },
    {
      "id": "overload-3bdee56048af4729",
      "url": "/products/haybarn/functions/releases/duckdb-1.5.6/round/#overload-3bdee56048af4729",
      "signature": "round(x: SMALLINT, precision: INTEGER) → SMALLINT",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "x",
            "type": "SMALLINT",
            "mode": null,
            "position": null
          },
          {
            "name": "precision",
            "type": "INTEGER",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "round",
        "function_type": "scalar",
        "description": "Rounds x to s decimal places",
        "comment": null,
        "return_type": "SMALLINT",
        "parameters": [
          "x",
          "precision"
        ],
        "parameter_types": [
          "SMALLINT",
          "INTEGER"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "round(42.4332, 2)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": null
      }
    },
    {
      "id": "overload-23d7d97f5e1a0106",
      "url": "/products/haybarn/functions/releases/duckdb-1.5.6/round/#overload-23d7d97f5e1a0106",
      "signature": "round(x: TINYINT, precision: INTEGER) → TINYINT",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "x",
            "type": "TINYINT",
            "mode": null,
            "position": null
          },
          {
            "name": "precision",
            "type": "INTEGER",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "round",
        "function_type": "scalar",
        "description": "Rounds x to s decimal places",
        "comment": null,
        "return_type": "TINYINT",
        "parameters": [
          "x",
          "precision"
        ],
        "parameter_types": [
          "TINYINT",
          "INTEGER"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "round(42.4332, 2)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": null
      }
    }
  ],
  "editorial": {
    "argumentNotes": [],
    "recipes": []
  },
  "examples": [
    {
      "original": "round(42.4332, 2)",
      "sql": "SELECT round(42.4332, 2);",
      "overloadIds": [
        "overload-197b63e23b1ee4df",
        "overload-a52745242179d318",
        "overload-40076132fda8ab8a",
        "overload-d937de3ffbce8fc0",
        "overload-027c3069b6bc288d",
        "overload-0114af8aa51f4524",
        "overload-c9fadf1a9f037e1c",
        "overload-f44296c4fac44208",
        "overload-b352100c5328fbb7",
        "overload-5e424245462b3105",
        "overload-c3ad32986ade2927",
        "overload-c732d9f74163832b",
        "overload-88af24542533e28a",
        "overload-0395ab159ea2faa8",
        "overload-3bdee56048af4729",
        "overload-23d7d97f5e1a0106"
      ],
      "source": "engine-catalog",
      "verification": null
    }
  ],
  "translations": [
    {
      "function": "round",
      "scope": "",
      "relation": "direct",
      "source": {
        "engine": "BigQuery",
        "dialect": "bigquery",
        "name": "round",
        "names": [
          "round"
        ],
        "sql": "SELECT ROUND(2.25) AS value"
      },
      "target": {
        "dialect": "duckdb",
        "name": "round",
        "sql": "SELECT ROUND(2.25) AS value"
      },
      "formatTokens": [],
      "executionVerified": false,
      "provenance": {
        "name": "SQLGlot",
        "commit": "3086608e6fd4c41c02dfba47171608d2b193fce2",
        "url": "https://github.com/tobymao/sqlglot/blob/3086608e6fd4c41c02dfba47171608d2b193fce2/tests/dialects/test_bigquery.py#L4092"
      }
    },
    {
      "function": "round",
      "scope": "",
      "relation": "direct",
      "source": {
        "engine": "Snowflake",
        "dialect": "snowflake",
        "name": "round",
        "names": [
          "round"
        ],
        "sql": "SELECT ROUND(2.25) AS value"
      },
      "target": {
        "dialect": "duckdb",
        "name": "round",
        "sql": "SELECT ROUND(2.25) AS value"
      },
      "formatTokens": [],
      "executionVerified": false,
      "provenance": {
        "name": "SQLGlot",
        "commit": "3086608e6fd4c41c02dfba47171608d2b193fce2",
        "url": "https://github.com/tobymao/sqlglot/blob/3086608e6fd4c41c02dfba47171608d2b193fce2/tests/dialects/test_snowflake.py#L6279"
      }
    }
  ],
  "runnableExamples": [
    {
      "function": "round",
      "original": "round(42.4332, 2)",
      "sql": "SELECT round(42.4332, 2);",
      "source": "engine-catalog",
      "verification": {
        "engine": "haybarn-wasm",
        "packageVersion": "1.5.6-rc6",
        "sourceId": "5b8b06dfbc",
        "binarySha256": "13bf09c19dd0f6b8748c0d3d5f0e0627679bae8b16befa728d8a1058ff0c85c9",
        "rowCount": 1
      }
    }
  ],
  "additionalDocumentation": [
    {
      "title": "Numeric Functions",
      "url": "https://duckdb.org/docs/current/sql/functions/numeric#roundv-numeric-s-integer"
    }
  ],
  "availability": [
    {
      "snapshot": "haybarn-1.5.6-rc6",
      "observed": true,
      "overloadCount": 16,
      "matchingOverloadIds": [
        "overload-b352100c5328fbb7",
        "overload-197b63e23b1ee4df",
        "overload-5e424245462b3105",
        "overload-a52745242179d318",
        "overload-c3ad32986ade2927",
        "overload-40076132fda8ab8a",
        "overload-c732d9f74163832b",
        "overload-d937de3ffbce8fc0",
        "overload-88af24542533e28a",
        "overload-027c3069b6bc288d",
        "overload-0395ab159ea2faa8",
        "overload-0114af8aa51f4524",
        "overload-3bdee56048af4729",
        "overload-c9fadf1a9f037e1c",
        "overload-23d7d97f5e1a0106",
        "overload-f44296c4fac44208"
      ],
      "json": "/products/haybarn/functions/api/v1/haybarn-1.5.6-rc6/functions/round.json"
    },
    {
      "snapshot": "haybarn-1.5.5-rc3",
      "observed": true,
      "overloadCount": 16,
      "matchingOverloadIds": [
        "overload-b352100c5328fbb7",
        "overload-197b63e23b1ee4df",
        "overload-5e424245462b3105",
        "overload-a52745242179d318",
        "overload-c3ad32986ade2927",
        "overload-40076132fda8ab8a",
        "overload-c732d9f74163832b",
        "overload-d937de3ffbce8fc0",
        "overload-88af24542533e28a",
        "overload-027c3069b6bc288d",
        "overload-0395ab159ea2faa8",
        "overload-0114af8aa51f4524",
        "overload-3bdee56048af4729",
        "overload-c9fadf1a9f037e1c",
        "overload-23d7d97f5e1a0106",
        "overload-f44296c4fac44208"
      ],
      "json": "/products/haybarn/functions/api/v1/haybarn-1.5.5-rc3/functions/round.json"
    },
    {
      "snapshot": "duckdb-1.5.6",
      "observed": true,
      "overloadCount": 16,
      "matchingOverloadIds": [
        "overload-b352100c5328fbb7",
        "overload-197b63e23b1ee4df",
        "overload-5e424245462b3105",
        "overload-a52745242179d318",
        "overload-c3ad32986ade2927",
        "overload-40076132fda8ab8a",
        "overload-c732d9f74163832b",
        "overload-d937de3ffbce8fc0",
        "overload-88af24542533e28a",
        "overload-027c3069b6bc288d",
        "overload-0395ab159ea2faa8",
        "overload-0114af8aa51f4524",
        "overload-3bdee56048af4729",
        "overload-c9fadf1a9f037e1c",
        "overload-23d7d97f5e1a0106",
        "overload-f44296c4fac44208"
      ],
      "json": "/products/haybarn/functions/api/v1/duckdb-1.5.6/functions/round.json"
    },
    {
      "snapshot": "duckdb-1.5.5",
      "observed": true,
      "overloadCount": 16,
      "matchingOverloadIds": [
        "overload-b352100c5328fbb7",
        "overload-197b63e23b1ee4df",
        "overload-5e424245462b3105",
        "overload-a52745242179d318",
        "overload-c3ad32986ade2927",
        "overload-40076132fda8ab8a",
        "overload-c732d9f74163832b",
        "overload-d937de3ffbce8fc0",
        "overload-88af24542533e28a",
        "overload-027c3069b6bc288d",
        "overload-0395ab159ea2faa8",
        "overload-0114af8aa51f4524",
        "overload-3bdee56048af4729",
        "overload-c9fadf1a9f037e1c",
        "overload-23d7d97f5e1a0106",
        "overload-f44296c4fac44208"
      ],
      "json": "/products/haybarn/functions/api/v1/duckdb-1.5.5/functions/round.json"
    },
    {
      "snapshot": "duckdb-1.4.4",
      "observed": true,
      "overloadCount": 16,
      "matchingOverloadIds": [
        "overload-b352100c5328fbb7",
        "overload-197b63e23b1ee4df",
        "overload-5e424245462b3105",
        "overload-a52745242179d318",
        "overload-c3ad32986ade2927",
        "overload-40076132fda8ab8a",
        "overload-c732d9f74163832b",
        "overload-d937de3ffbce8fc0",
        "overload-88af24542533e28a",
        "overload-027c3069b6bc288d",
        "overload-0395ab159ea2faa8",
        "overload-0114af8aa51f4524",
        "overload-3bdee56048af4729",
        "overload-c9fadf1a9f037e1c",
        "overload-23d7d97f5e1a0106",
        "overload-f44296c4fac44208"
      ],
      "json": "/products/haybarn/functions/api/v1/duckdb-1.4.4/functions/round.json"
    },
    {
      "snapshot": "duckdb-1.3.2",
      "observed": true,
      "overloadCount": 16,
      "matchingOverloadIds": [
        "overload-b352100c5328fbb7",
        "overload-197b63e23b1ee4df",
        "overload-5e424245462b3105",
        "overload-a52745242179d318",
        "overload-c3ad32986ade2927",
        "overload-40076132fda8ab8a",
        "overload-c732d9f74163832b",
        "overload-d937de3ffbce8fc0",
        "overload-88af24542533e28a",
        "overload-027c3069b6bc288d",
        "overload-0395ab159ea2faa8",
        "overload-0114af8aa51f4524",
        "overload-3bdee56048af4729",
        "overload-c9fadf1a9f037e1c",
        "overload-23d7d97f5e1a0106",
        "overload-f44296c4fac44208"
      ],
      "json": "/products/haybarn/functions/api/v1/duckdb-1.3.2/functions/round.json"
    }
  ]
}
