public static Coin valueOf ( final int coins , final int cents ) { checkArgument ( cents < 100 ) ; checkArgument ( cents >= 0 ) ; checkArgument ( coins >= 0 ) ; final Coin coin = COIN . multiply ( coins ) . add ( CENT . multiply ( cents ) ) ; return coin ; }
Convert an amount expressed in the way humans are used to into satoshis .