JavaScript

Calculated the value for 1.28 with different combination of coins: