https://www.growthbook.io/ logo
h

helpful-carpenter-3208

03/14/2022, 6:51 AM
we want to do a ABCD test like this. why the feature flag setting give this error?
f

fresh-football-47124

03/14/2022, 6:52 AM
there might be a rounding bug - js's floating point math is maddening
let me check
🙌 1
h

helpful-carpenter-3208

03/14/2022, 6:54 AM
Indeed .
🥲 1
f

fresh-football-47124

03/14/2022, 6:54 AM
wild
let me add a bit of 5 decimal rounding
h

helpful-carpenter-3208

03/14/2022, 6:54 AM
should be a simple fix🥸
f

fresh-football-47124

03/14/2022, 7:26 AM
fix going live now
✅ 2
h

helpful-carpenter-3208

03/14/2022, 10:21 AM
@fresh-football-47124 Is it expected? I think it’s still having issues with numbers. This is what I print out on the frontend side
f

fresh-football-47124

03/14/2022, 12:14 PM
I take it you didn't set it like that in the ui?
I'll try to reproduce it
h

helpful-carpenter-3208

03/14/2022, 12:48 PM
I belive it’s something from the backend side. the feature variants returns this these wrong numbers after I set the variant as
0.8 0.05 0.05 0.05 0.05