If I wanted to do aritmit equations with fractions how would I do it? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

If I wanted to do aritmit equations with fractions how would I do it?

I cannot turn them to decimals to do the process just fractions. https://code.sololearn.com/cyNy7qci2Sj0/?ref=app

29th Aug 2018, 3:58 AM
Jossue
Jossue - avatar
1 Answer
+ 2
Just use double format instead of int and you don't need to turn anything to different number format.
29th Aug 2018, 6:37 AM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar