Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function changeBureau(input) {
- let bitcoin = Number(input[0]);
- let yuan = Number(input[1]);
- let commission = Number(input[2]);
- let total = (bitcoin * 1168 + yuan * 0.15 * 1.76) / 1.95 * (100 - commission) / 100;
- console.log(`${total.toFixed(2)}`);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement