Negation (-)

    Operators

    Syntax

    -value
    

    Description

    Returns the number value with the opposite sign.

    Argument types:

    • valueNumber

    Return type: Same type as (value)

    Examples

    - (5) = -5
    

    Data source support

    Materialized Dataset, ClickHouse 1.1, Microsoft SQL Server 2017 (14.0), MySQL 5.6, PostgreSQL 9.3