Advertisement
cornedor

Untitled

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