123456789101112131415161718192021222324252627 |
-
- public class CurrencyConverter {
- public CurrencyConverter(){
- /* dollar 1.00 std.
- * euro 0.94
- * gbp 0.82
- * inr 68.32
- * aus 1.35
- * can 1.32
- * sing 1.43
- * swiss 1.01
- * malay 4.47
- * jpy 115.84
- * cny 6.92
- *
- */
-
- }
- public float convert(float amount, float type2, float original){
- amount = (type2*amount)/original;
-
- return amount;
-
- }
-
- }
|