• Login
sketchucation logo sketchucation
  • Login
⚠️ Libfredo 15.4b | Minor release with bugfixes and improvements Update

It's that time again - mind is goo

Scheduled Pinned Locked Moved Developers' Forum
5 Posts 4 Posters 253 Views 4 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.
  • T Offline
    thomthom
    last edited by 6 Nov 2011, 21:08

    This caught me off guard today. Time to step away from the keyboard...

    ` 2.m
    78.740157480315

    3.m
    118.110236220472

    6.m
    236.220472440945

    2.m * 3.m
    9300.0186000372`

    6.m != 2.m * 3.m

    😳 😒

    Time for a cup of tea.

    Thomas Thomassen — SketchUp Monkey & Coding addict
    List of my plugins and link to the CookieWare fund

    1 Reply Last reply Reply Quote 0
    • C Offline
      Chris Fullmer
      last edited by 6 Nov 2011, 21:27

      Its time for bed probably Thom!

      Lately you've been tan, suspicious for the winter.
      All my Plugins I've written

      1 Reply Last reply Reply Quote 0
      • D Offline
        derei
        last edited by 6 Nov 2011, 22:05

        It's normal to happen this, as division and multiplication are executed one after other. And .m method is actually division by 0.01 inch: 1/0.0254 = 39.37007874015748 . So, is normal that 2.m * 3.m =! 6.m , because first is made the transformation.
        Try instead (2*3).m.

        DESIGNER AND ARTIST [DEREI.UK](http://derei.uk/l)

        1 Reply Last reply Reply Quote 0
        • T Offline
          thomthom
          last edited by 6 Nov 2011, 22:39

          Aye - my brain to so gooey from C programming that I just had to post my embarrassing brain-fart.

          Thomas Thomassen — SketchUp Monkey & Coding addict
          List of my plugins and link to the CookieWare fund

          1 Reply Last reply Reply Quote 0
          • T Offline
            TIG Moderator
            last edited by 6 Nov 2011, 22:53

            (2 * 3).m

            TIG

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

            Advertisement