# toMinorUnits

toMinorUnits in @provenanceauth/rails/acp, Rails. Major units (Provenance) → integer minor units (ACP).

## Signature

```ts
toMinorUnits(amount: number, currency: string): number
```

## Parameters

- `amount` (number)
- `currency` (string)

## Returns

`number`

Runs locally, with no request to the API.
