I have a table:
MilesFrom MilesTo Charge
0 2 2.5
3 100 0.5
101 500 0.25
I am wanting to lookup a value in the ranges and return the charge.
Ie a value of 10 would match to 2 x 2.5 and then 8 x 0.5.
I can't get my head around how to do this in CF...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.