Price fraction: Difference between revisions

m
Line 803:
end
end
 
feature {NONE}
 
price_adjusted (n: REAL): REAL
Line 813 ⟶ 815:
i := 1
until
i > limit.count or found = TRUE
loop
if n <= limit [i] then
RESULTResult := (price [i])
found := TRUETrue
end
i := i + 1
Anonymous user