We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 825ebd8 + 1e311e9 commit 1938923Copy full SHA for 1938923
src/main/kotlin/com/statsig/sdk/Evaluator.kt
@@ -236,7 +236,7 @@ internal class Evaluator(
236
'.' +
237
(getUnitID(user, rule.idType) ?: "")
238
)
239
- .mod(10000UL) < rule.passPercentage.toULong().times(100UL)
+ .mod(10000UL) < (rule.passPercentage.times(100.0)).toULong()
240
241
return ConfigEvaluation(
242
false,
0 commit comments