Apply the prefix ‐‐ operator to the specified value and return its original value.

Synopsis

Declared in <bdldfp_decimal.h>

bdldfp::Decimal64
operator‐‐(
    Decimal64& value,
    int unused);

Description

Note that this is a floating‐point value so this operations may not change the value of this object at all (if the value is large) or it may just set it to ‐1.0 (if the original value is small).

Return Value

the original value of value

Parameters

Name

Description

value

decimal object to modify

unused

unused argument distinguishing the postfix operator

Created with MrDocs