AP Computer Science A

study guides for every class

that actually explain what's on your next test

Random()

from class:

AP Computer Science A

Definition

The random() function generates and returns a pseudo-random decimal value between 0.0 (inclusive) and 1.0 (exclusive).

© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.