possible bug in timer function

Make comments, ask questions, or just complain about the software on this site. Or comment on any educational software.
Please note that by clicking on links that may appear in these posts that you may be leaving the Dale Harris Educational Software website and that the content of those sites is the sole resposibility of the authors of those sites.

Moderators:daleadmin, Dale Harris, Alan, Andrew

Post Reply
User avatar
small
Forum Regular
Posts:135
Joined:Mon Sep 05, 2005 10:22 pm
Location:Carmi, Illinois
possible bug in timer function

Post by small » Tue Oct 10, 2006 2:37 am

I was using the timer and the sub total was wrong. it some how added a penny more than the sale.

User avatar
Dale Harris
Forum Owner
Posts:1171
Joined:Sun Dec 28, 2003 10:19 pm
Location:Chicago
Contact:

Rounding error

Post by Dale Harris » Tue Oct 10, 2006 10:00 am

Small,

This is actually a rounding error that happens when you do not round the time and end up with something like 4.417 time units. In the example you sent to me the actual charge would be .8834 which was rounded to .88 for the line price but rounded to .89 for the Sub Total. This happens sometimes but when I have tried to fix it other things go haywire. So we are going to have to live with it at present.
Dale

Post Reply

Who is online

Users browsing this forum: No registered users and 260 guests