Advertisement
zebadeee

Inches to feet and inches

Dec 13th, 2021
1,593
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.                 let height = 75; // this could be any number of inches
  2.                 let feet = Math.floor(height / 12);
  3.                 let inches = (height - (feet * 12));
  4.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement