Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1
You could generate some floating point number between 0 and 1 and multiply by 10^8. It wouldn't always work when there are zeroes to the left, though.
2nd Dec 2019, 9:31 AM
Eduardo Petry
Eduardo Petry - avatar