• Kurse
  • Code Compiler
  • Diskutieren
  • Preise
  • Teams
Menu
+ 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?

python
19th Mar 2020, 8:44 AM
PUFFIN Channel
PUFFIN Channel - avatar
1 Antwort
+ 2
Just type cast them to float. 👇 https://code.sololearn.com/cRXPlJsFy8NW/?ref=app
19th Mar 2020, 9:14 AM
Arsenic
Arsenic - avatar

Häufig solche Fragen?

Effizienter lernen, kostenlos:

  • Einführung in Python

    7.1M Lernende

  • Einführung in Java

    4.7M Lernende

  • Einführung in C

    1.5M Lernende

  • Einführung in HTML

    7.5M Lernende

Alle Kurse anzeigen
Heute heiß
My codebits section is full of deleted codes
13 Votes
Ai generated practices
1 Votes
Where did mess up....
1 Votes
I have an error in a problem and I don't know what the correct answer is
1 Votes
Feedback on my portfolio
0 Votes
Yo this is madness
0 Votes
How can i insert files?
1 Votes
help!!! How to build portfolio? I am in last year of highschool and still noob lol
0 Votes
Hi who can hel me please
0 Votes
Where can I find python and SQL projects to work on for my portfolio that are beginner to intermediate?
1 Votes