From 0cb9e979caa547e14722b6060cab279ccefcaae6 Mon Sep 17 00:00:00 2001 From: Denny Crane Date: Fri, 7 Jan 2022 14:53:17 -0400 Subject: [PATCH] actualize trailing zeros removal in documentation --- .../functions/type-conversion-functions.md | 12 ++++++------ .../functions/type-conversion-functions.md | 12 ++++++------ .../functions/type-conversion-functions.md | 12 ++++++------ .../functions/type-conversion-functions.md | 12 ++++++------ 4 files changed, 24 insertions(+), 24 deletions(-) diff --git a/docs/en/sql-reference/functions/type-conversion-functions.md b/docs/en/sql-reference/functions/type-conversion-functions.md index 88e1cf47592..160e7be156e 100644 --- a/docs/en/sql-reference/functions/type-conversion-functions.md +++ b/docs/en/sql-reference/functions/type-conversion-functions.md @@ -344,9 +344,9 @@ SELECT toDecimal32OrNull(toString(-1.111), 5) AS val, toTypeName(val); Result: ``` text -┌──────val─┬─toTypeName(toDecimal32OrNull(toString(-1.111), 5))─┐ -│ -1.11100 │ Nullable(Decimal(9, 5)) │ -└──────────┴────────────────────────────────────────────────────┘ +┌────val─┬─toTypeName(toDecimal32OrNull(toString(-1.111), 5))─┐ +│ -1.111 │ Nullable(Decimal(9, 5)) │ +└────────┴────────────────────────────────────────────────────┘ ``` Query: @@ -451,9 +451,9 @@ SELECT toDecimal32OrZero(toString(-1.111), 5) AS val, toTypeName(val); Result: ``` text -┌──────val─┬─toTypeName(toDecimal32OrZero(toString(-1.111), 5))─┐ -│ -1.11100 │ Decimal(9, 5) │ -└──────────┴────────────────────────────────────────────────────┘ +┌────val─┬─toTypeName(toDecimal32OrZero(toString(-1.111), 5))─┐ +│ -1.111 │ Decimal(9, 5) │ +└────────┴────────────────────────────────────────────────────┘ ``` Query: diff --git a/docs/ja/sql-reference/functions/type-conversion-functions.md b/docs/ja/sql-reference/functions/type-conversion-functions.md index fd935c23d5f..a16bca0c1f9 100644 --- a/docs/ja/sql-reference/functions/type-conversion-functions.md +++ b/docs/ja/sql-reference/functions/type-conversion-functions.md @@ -170,9 +170,9 @@ SELECT toDecimal32OrNull(toString(-1.111), 5) AS val, toTypeName(val) ``` ``` text -┌──────val─┬─toTypeName(toDecimal32OrNull(toString(-1.111), 5))─┐ -│ -1.11100 │ Nullable(Decimal(9, 5)) │ -└──────────┴────────────────────────────────────────────────────┘ +┌────val─┬─toTypeName(toDecimal32OrNull(toString(-1.111), 5))─┐ +│ -1.111 │ Nullable(Decimal(9, 5)) │ +└────────┴────────────────────────────────────────────────────┘ ``` ``` sql @@ -214,9 +214,9 @@ SELECT toDecimal32OrZero(toString(-1.111), 5) AS val, toTypeName(val) ``` ``` text -┌──────val─┬─toTypeName(toDecimal32OrZero(toString(-1.111), 5))─┐ -│ -1.11100 │ Decimal(9, 5) │ -└──────────┴────────────────────────────────────────────────────┘ +┌────val─┬─toTypeName(toDecimal32OrZero(toString(-1.111), 5))─┐ +│ -1.111 │ Decimal(9, 5) │ +└────────┴────────────────────────────────────────────────────┘ ``` ``` sql diff --git a/docs/ru/sql-reference/functions/type-conversion-functions.md b/docs/ru/sql-reference/functions/type-conversion-functions.md index 1b4ea4ef609..50a458bb453 100644 --- a/docs/ru/sql-reference/functions/type-conversion-functions.md +++ b/docs/ru/sql-reference/functions/type-conversion-functions.md @@ -343,9 +343,9 @@ SELECT toDecimal32OrNull(toString(-1.111), 5) AS val, toTypeName(val); Результат: ``` text -┌──────val─┬─toTypeName(toDecimal32OrNull(toString(-1.111), 5))─┐ -│ -1.11100 │ Nullable(Decimal(9, 5)) │ -└──────────┴────────────────────────────────────────────────────┘ +┌────val─┬─toTypeName(toDecimal32OrNull(toString(-1.111), 5))─┐ +│ -1.111 │ Nullable(Decimal(9, 5)) │ +└────────┴────────────────────────────────────────────────────┘ ``` Запрос: @@ -449,9 +449,9 @@ SELECT toDecimal32OrZero(toString(-1.111), 5) AS val, toTypeName(val); Результат: ``` text -┌──────val─┬─toTypeName(toDecimal32OrZero(toString(-1.111), 5))─┐ -│ -1.11100 │ Decimal(9, 5) │ -└──────────┴────────────────────────────────────────────────────┘ +┌────val─┬─toTypeName(toDecimal32OrZero(toString(-1.111), 5))─┐ +│ -1.111 │ Decimal(9, 5) │ +└────────┴────────────────────────────────────────────────────┘ ``` Запрос: diff --git a/docs/zh/sql-reference/functions/type-conversion-functions.md b/docs/zh/sql-reference/functions/type-conversion-functions.md index 6c8843fe2bd..c1d1e66664e 100644 --- a/docs/zh/sql-reference/functions/type-conversion-functions.md +++ b/docs/zh/sql-reference/functions/type-conversion-functions.md @@ -167,9 +167,9 @@ SELECT toDecimal32OrNull(toString(-1.111), 5) AS val, toTypeName(val) ``` ``` text -┌──────val─┬─toTypeName(toDecimal32OrNull(toString(-1.111), 5))─┐ -│ -1.11100 │ Nullable(Decimal(9, 5)) │ -└──────────┴────────────────────────────────────────────────────┘ +┌────val─┬─toTypeName(toDecimal32OrNull(toString(-1.111), 5))─┐ +│ -1.111 │ Nullable(Decimal(9, 5)) │ +└────────┴────────────────────────────────────────────────────┘ ``` ``` sql @@ -210,9 +210,9 @@ SELECT toDecimal32OrZero(toString(-1.111), 5) AS val, toTypeName(val) ``` ``` text -┌──────val─┬─toTypeName(toDecimal32OrZero(toString(-1.111), 5))─┐ -│ -1.11100 │ Decimal(9, 5) │ -└──────────┴────────────────────────────────────────────────────┘ +┌────val─┬─toTypeName(toDecimal32OrZero(toString(-1.111), 5))─┐ +│ -1.111 │ Decimal(9, 5) │ +└────────┴────────────────────────────────────────────────────┘ ``` ``` sql