This command will print three comma-separated values: an integer between 0 and 9999, a random decimal number between 0 and 1, and another integer between 0 and 9999.
awk -F, -v OFS=',' 'BEGIN { srand(); print int(rand()*10000), rand(), int(rand()*10000) }'