Please enable JavaScript to use CodeHS

CodeHS Glossary

readFloat JavaScript

Allows for the reading of user input when a float number is used. For example, the code below: var raceTime = readFloat("What was your race time?"); println("Your race time was " + raceTime); If the user types, 4.63476, the program will print out Your race time was 4.63476