Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję+ 1
How to multiply two numbers without rounding?
input: a=68.33, b=4.5, output: c= 307,49, but C must be equal to 307.485. How can I do this?
1 Odpowiedź
+ 2
Just type cast them to float.
👇
https://code.sololearn.com/cRXPlJsFy8NW/?ref=app