Closed Mitchman215 closed 5 months ago
You can also check the source code:
Looks like in this specific case, Randomizer.Double()
defers to System.Random.NextDouble()
:
Thanks for the quick answer! Would you be opposed to me opening up a PR adding this documentation, just so it's a bit easier to determine?
@Mitchman215 , of course, go for it.
Just a couple of guidelines:
#528
in your PR.Randomizer.cs
if they are missing in other XML param docs for other methods.
I might not be able to immediately merge/approve it tonight; I'm just about to turn in for the night. But will review/approve/merge probably sometime tomorrow.
Bogus NuGet Package
34.0.2
.NET Version
.NET 8
Visual Studio Version
No response
What operating system are you using?
Windows
What locale are you using with Bogus?
en_US
What's the problem?
It doesn't seem to be clearly documented whether the number ranges in
Faker.Random
are inclusive or exclusive. For example,Random.Double
's documentation reads "Get a random double, between 0.0 and 1.0."Provide LINQPad Example
NA
What other possible solutions or alternatives have you considered?
Looked at README docs and individual function docs