The name is not close enough to `numberBetween`, which is Faker's formatter for unbiaised integer. I suggest `biaisedNumberBetween`

You should provide default values for each parameter, probably `$from = 0, $ to = 100, $function = 'sqrt'`