Parse an amount denoted in full coins. E.g. "0.0034" supplied on the command line.
Declared in <util/moneystr.h>
std::optional<CAmount>
ParseMoney(std::string const& str);
The parsed amount in the smallest unit, or std::nullopt if invalid.
| Name | Description |
|---|---|
| str | The string to parse. |