leopard
leopard copied to clipboard
The "pick random" function should accept strings
Scratch dynamically decides whether the "pick random" function should return an integer or a float based on whether or not its numeric inputs contain any decimal points. This is done with the string representation of the number, so e.g. "1.000" still counts as decimal.
Fixing this requires recoding the random
function to accept strings.