Sorry for the scuffed title, but what i'm trying to do here is pick a random number that isn't a whole number, i checked the wiki and stuff and apparently math.random only produces a number that is a unit of 1, for example, 0,1,2,3,4,5 are whole numbers and 0.5,1.5,2.5,3.5 are not whole numbers.
local Pos = math.random(0.02,0.897)
i did this but of course the number was only ever Zero, (because none of these numbers are higher than 1) so i'm kinda stuck here, this is very important to my game so if anyone can help it'd be really appreciated

2 comments
you can't, math.random(a,b) can only produce an integer . However, you can just use a larger range, like 20 though 897, then divide it by another number, like 1000
you can use Random.new():NextNumber(0.02, 0.897), This is not very good but I think it works.