Changes

Jump to navigation Jump to search
268 bytes added ,  09:44, 3 February 2022
Line 9: Line 9:     
:You are correct that 6 cannot be a random number generated. However, since the resulting number is a float, I'm pretty sure it can be a decimal just under 6, like 5.99, which would result in a negligible difference compared to 6. This would barely change the calculations currently in the table. [[User:User314159|User314159]] ([[User talk:User314159|talk]]) 15:12, 2 February 2022 (UTC)
 
:You are correct that 6 cannot be a random number generated. However, since the resulting number is a float, I'm pretty sure it can be a decimal just under 6, like 5.99, which would result in a negligible difference compared to 6. This would barely change the calculations currently in the table. [[User:User314159|User314159]] ([[User talk:User314159|talk]]) 15:12, 2 February 2022 (UTC)
 +
 +
::Magikarp is correct.  The result of Random.Next(int,int) is an int, which doesn't include the max number.  Even if this is converted to a decimal, it would still wouldn't be higher than 5.[[User:BlaDe|BlaDe]] ([[User talk:BlaDe|talk]]) 09:44, 3 February 2022 (UTC)
146

edits

Navigation menu