sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    πŸ«› Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download

    PC vs Mac calculation

    Scheduled Pinned Locked Moved Developers' Forum
    3 Posts 3 Posters 567 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