<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "Bitcoin",
  "identifier" : "/documentation/Bitcoin/BTCAmount/-(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Operator",
  "symbol" : {
    "kind" : "Operator",
    "modules" : [
      "Bitcoin"
    ],
    "preciseIdentifier" : "s:7Bitcoin9BTCAmountV1soiyA2C_ACtFZ"
  },
  "title" : "-(_:_:)"
}
-->

# -(_:_:)

Subtracts one amount from another.

```
static func - (lhs: BTCAmount, rhs: BTCAmount) -> BTCAmount
```

## Parameters

`lhs`

The amount to subtract from.

`rhs`

The amount to subtract.

## Return Value

The difference, in satoshis. May be negative.

## Discussion> Precondition: The difference fits in `Int64`; traps on overflow.