quantityComponentValue

fun quantityComponentValue(amount: Bank.Amount?): Int

Gives the component value of the quantity amount to be used.

Return

-1 if the amount specified doesn't exist. If not, it returns the respective component value.

Parameters

amount

specifies the amount to get the component for.