var a = 2000;
var b = 75;
var c = 840;
var d = 28500;
var e = 2000000;
var f = 7.50;
console.log(5 / 100.0 * a);
console.log(5 / 100.0 * b);
console.log(5 / 100.0 * c);
console.log(5 / 100.0 * d);
console.log(5 / 100.0 * e);
console.log(5 / 100.0 * f);
一切都是正确的,但是如何用更少的代码获得相同的结果呢?