Jump to content
You need to play a total of 10 battles to post in this section.
keskparane

API significant digits. API & port vs Wiki

0 comments in this topic

Recommended Posts

Member
2,251 posts
13,967 battles

 

1. Description

The API only returns 1 significant digit. Essentially the wiki is the only acceptable source for making a calculation.

 

2. Reproduction steps

Attempting to round the results by adding concealment expert skill of 10% for destroyer and 12% for cruiser.

  • Blyskawica - 10%

    • API/Port 7.7 * 0.9 = round( 6.93, 1 ) = 6.9

    • Wiki 7.74 * 0.9 = round( 6.966, 1 ) = 7.0

  • Yorck - 12%

    • API/Port 13.9 * 0.88 = round( 12.232, 1 ) = 12.2

    • Wiki 13.86 * 0.88 = round( 12.1968, 1 ) = 12.2

 

Attempting to round up the results by adding concealment expert skill of 10% for destroyer and 12% for cruiser.

  • Blyskawica - 10%

    • API/Port 7.7 * 0.9 = roundup( 6.93, 1 ) = 7.0

    • Wiki 7.74 * 0.9 = roundup( 6.966, 1 ) = 7.0

  • Yorck - 12%

    • API/Port 13.9 * 0.88 = roundup( 12.232, 1 ) = 12.3

    • Wiki 13.86 * 0.88 = roundup( 12.1968, 1 ) = 12.2


3. Result
The API/port numbers are not accurate enough to calculate the concealment when skills/upgrades/camo are applied.

 

If we use the round method then the Blyskawica API/port numbers don't produce the results displayed in port.

If we use the roundup method then the Yorck API/port numbers don't produce the results displayed in port.

 

4. Expected result

The API/port numbers shown should be accurate enough to calculate the concealment when skills/upgrades/camo are applied. Especially for the API.

 

5. Technical details

 

 

Edited by keskparane

Share this post


Link to post
Share on other sites

×