[#ParseMoney] = ParseMoney :mrdocs: Parse an amount denoted in full coins. E.g. "0.0034" supplied on the command line. == Synopsis Declared in `<util/moneystr.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::optional<CAmount> ParseMoney(std::string const& str); ---- == Return Value The parsed amount in the smallest unit, or std::nullopt if invalid. == Parameters [cols="1,4"] |=== | Name| Description | *str* | The string to parse. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#