Method Community

 

Floating point error?

Last post 02-23-2011 10:33 AM by Method_Michael. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 12-23-2010 9:04 AM

    Floating point error?

    Hello Method Team,

    It would be great if you set up a bug tracker so I didn't have to flood the forum with bug reports.

    Here's the setup:

    Screen: Sales Order

    We mark our credit card payments by placing a negative "Payment" item in our sales orders. The same effect couldl be had by marking a discount for free merchandise.

    Bug: Upon saving the Sales Order of a "$0.00" amount, Method claims that it cannot send the SO to Quickbooks because of a negative amount. It only happens sometimes, possibly with certain items and quantities.

    I believe this is a floating point error. Even though prices are shown as "$55.00", the stored number is probably "$55.0000000001" or some such.

  • 12-24-2010 8:57 AM In reply to

    Re: Floating point error?

    Hi Alec,

    Happy Holidays! Thank you for bringing this to our attention. We will do some testing on our end and get back to you with an update.

    Regarding the bug tracker - as Method is a highly customizable platform, it is often difficult to separate what is a bug, and what is an issue of customization on the part of the user. We therefore utilize the forum for this purpose, as it gives us the opportunity to confirm any issues prior to filing bugs to our busy developers. Smile

    Regards,
    Denis

  • 12-27-2010 9:12 AM In reply to

    Re: Floating point error?

    Hi Alec,


    Just to get some additional details on this, are there any unresolved conflicts for the sales orders or is this message displayed directly in the screen when attempting to save the SO. If there is an unresolved conflict can you post the details of it here or email it to me at m.melo@methodintegration.com, also if you can send me a screenshot of the contents of your sales order.


    -Michael

    Michael Melo
    Product Manager
    Method Integration Inc.
    Website: http://www.method.me
    LinkedIn: http://www.linkedin.com/in/MichaelMelo
  • 12-27-2010 9:22 AM In reply to

    Re: Floating point error?

    The message appears directly on the screen. So far I have gotten around it by leaving a balance of $0.01 on the SO's. Next time it happens I will take a screen shot and post it. 

    I do not know if it leaves an unresolved conflict, I will also look into that next time I encounter it.

  • 12-29-2010 9:21 AM In reply to

    Re: Floating point error?

    Answer

    Hi Alec,

    Great. Next time you encounter this error, kindly take a screenshot, note if there is any unresolved conflicts, and email the screenshot to us at d.kugappi@methodintegration.com. I will be happy to take a look.

    Cheers,
    Denis

  • 02-23-2011 10:33 AM In reply to

    Re: Floating point error?

    This issue should now be fixed. Big Smile.

    Alec- Thank you for the screenshots and information.

     

    -Michael

    Michael Melo
    Product Manager
    Method Integration Inc.
    Website: http://www.method.me
    LinkedIn: http://www.linkedin.com/in/MichaelMelo
Page 1 of 1 (6 items)