getAmountAsLong

Parses the amount field as a Long value.

SAC balances are 7-decimal precision (stroops for XLM, or asset-specific decimals).

Return

the balance as a Long

Throws

if the amount cannot be parsed as a Long