https://www.sololearn.com/post/498217/?ref=app | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

https://www.sololearn.com/post/498217/?ref=app

Somebody explain me this please https://www.sololearn.com/post/498217/?ref=app Somebody explain me this please

20th Aug 2020, 4:21 PM
Saroj Pradhan
Saroj Pradhan - avatar
1 Answer
+ 1
Round takes your number to round and a parameter telling where to round in this case round(1234.1234, -2) equals to 2 step left of the float point :) round(1234.1234, 2) would be 1234.1200 ^^
20th Aug 2020, 4:33 PM
Christian Hauck
Christian Hauck - avatar