sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    PC vs Mac calculation

    Scheduled Pinned Locked Moved Developers' Forum
    3 Posts 3 Posters 544 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Didier BurD Offline
      Didier Bur
      last edited by

      Hi all,
      Try this on a PC(Win):

      "120cm".to_l.to_cm
      returns 120
      "120cm".to_l.to_cm.to_i
      returns 119 πŸ‘Ž πŸ‘Ž πŸ‘Ž

      "120cm".to_l.to_cm.to_i returns 120 on MacOs πŸŽ‰

      DB

      1 Reply Last reply Reply Quote 0
      • scottliningerS Offline
        scottlininger
        last edited by

        I was able to confirm this on Windows XP. I'll follow up internally to make sure this is fixed in SU7.

        • Scott Lininger
          SketchUp Software Engineer
          Have you visited the Ruby API Docs?
        1 Reply Last reply Reply Quote 0
        • MarianM Offline
          Marian
          last edited by

          WOW an "official" recognition that there is or will be a SU 7 😍 πŸ˜› πŸ˜›

          http://marian87.deviantart.com/

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement