--- title: "random()" slug: "math-random" updated: 2025-09-17T19:16:21Z published: 2025-09-22T09:16:05Z canonical: "docs.lobstersoftware.com/math-random" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # random() This function returns a random value between 0.0 (inclusive) and 1.0 (exclusive). The function has no parameters.