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