Does Random.Range() have a max return value?

I have a map generator that needs to get a random number between 0 and n.

When n < 150, the results seem fine. Random enough. However, when n > 150 the return values have never gone higher than 150.

Therefore, is the max result in Random.Range 150?


Mistake in my code. Thanks for the help.