Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Method

Negate

static func Negate(value: decimal) -> decimal

Declaring type: Decimal
Module: System
Assembly: System.Runtime.dll
Source file: Decimal.rvn

Changes the sign while preserving coefficient and scale.

Parameters

Name Type Description
value Decimal

Return value

Decimal