Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Change bureau
- function changeBureau(input) {
- let bitcoinCount = Number(input[0]);
- let yuanCount = Number(input[1]);
- let commission = Number(input[2]);
- let result = (1168 + 1.32) / 1.95;
- commission = result * 0.05;
- let totalResult = (result - commission).toFixed(2);
- console.log(totalResult);
- }
- changeBureau(["1", "5", "5"]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement