How the weighting is applied
Setting 70% draws an integer from 0 to 99 with rejection sampling, then reports heads for 0 through 69. Every one of the hundred buckets is equally likely, so exactly seventy of them mean heads. A 0% or 100% setting is not offered, because a coin with only one possible outcome is not a coin.
This matters more than it sounds: comparing a floating-point random value against0.7 introduces a tiny rounding error, and the integer threshold does not.