Opened 19 years ago
Last modified 18 years ago
#72 closed defect (fixed)
Function with for loop computes wrong value
Reported by: | davbr | Owned by: | davbr |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | Version: | ||
Keywords: | Cc: | davbr, Adrian Pop |
Description
Note:
See TracTickets
for help on using tickets.
function avg
algorithm
end avg;
avg({1,2,3,4,8})
evaluates to 2.0, but it should be 3.6