Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function read([arg1]){
- var celsius = Number(arg1);
- var fahrenheit = (celsius * (9 / 5)) + 32; // (°C × 9/5) + 32
- fahrenheit = Math.round((fahrenheit) * 100) / 100,
- console.log(fahrenheit);
- }
Advertisement
Add Comment
Please, Sign In to add comment