Weirdest random result

Just a very basic thing! but not pretty sure what happended
local xrad = math.random(-0.001,1.659)
i sure that last time i randomize a decimal number, it will return a decimal without rounding it

any body can help me?

1 Like

NVM, i found a solution now.
How do I add a decimal point to a number using a script? - Help and Feedback / Scripting Support - DevForum | Roblox
THX For reading!

1 Like