• mission/box-probability bug: flot precision

Question related to mission None

 

https://js.checkio.org/en/mission/box-probability/

In description:

The result is a float from 0 to 1 with two digits precision (±0.01).

But check fails:

Your result:"0.48"
Right result:0.481
Fail:boxProbability(["bbw",3])