Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [22:39:00.286] " === Math session with JS === "
- [22:39:00.286] " Welcome to this math session with JS"
- [22:39:00.286] " Today we are going to calculate a stretcher or what the english"
- [22:39:00.286] " Word is for that. So first we want to know how much 1mm is on"
- [22:39:00.286] " the display. The render is 347px height and the choosen"
- [22:39:00.286] " size is 30mm height. That means that for each pixel there"
- [22:39:00.286] " are 347 / 30 = 11.566666666666666mm. If we use this"
- [22:39:00.286] " given number we can calculate how much pixels 20mm (the stretcher)"
- [22:39:00.286] " We do this by calculating 20 / 11.566666666666666 = 1.729106628242075"
- [22:39:00.286] ""
- [22:39:00.286] " Now we have the answere we need. Have a nice day and keep calculating."
- [22:39:00.286] ""
- [22:39:00.287] ""
- [22:39:00.287] " - JS"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement