In this page: https://docs.microsoft.com/en-us/bingmaps/rest-services/routes/calculate-a-distance-matrix#api-limits
We are told that
A billable transaction is generated for every 4 cells in a matrix, rounded up to the nearest whole integer
It shows the formula to calculate billable transactions for distance matrix requests as
Total # of billable transactions = Ceiling(# origins * # destinations * 1/4)
Using an example of 2 origins and 5 destinations, the docs calculates the total billable hours as 5
Ceiling(0.5 * 2 * 5 ) = 5
I am wondering where the 0.5 came from, isn't the correct calculation meant to be:
Ceiling(2 * 5 * 0.25) = 3
0.5 is also used when calculating billable transactions for a matrix with a histogram. I stared at this page a very long time, either I have completely forgotten my basic math or I may be missing something. So I'd appreciate any help.
PS: if this is an actual issue can I make a PR? It'll be my first OSS contribution.