Equivalent to Math.random()

ty @Hazel! As Einstein once said " The definition of genius is taking the complex and making it simple."

Now I need to find out why I’m getting this error…

The Replica returned an error: code 5, message: "Canister rrkah-fqaaa-aaaaa-aaaaq-cai trapped explicitly: losing precision"