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