Skip to content

ROUND() now properly supports INTEGER and DECIMAL #2797

@TarantoolBot

Description

@TarantoolBot
Collaborator

Root document: https://www.tarantool.io/en/doc/latest/reference/reference_sql/


INTEGER and DECIMAL values passed as the first argument now will not be
cast to DOUBLE and the result will be of the same type as the first
argument. Also, the default type for the ROUND() is now DECIMAL.
Requested by @ImeevMA in tarantool/tarantool@5273b8c.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.10reference[location] Tarantool manual, Reference partsql[location] SQL manual

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @TarantoolBot@patiencedaur@veod32

        Issue actions

          ROUND() now properly supports INTEGER and DECIMAL · Issue #2797 · tarantool/doc