Convert into 2 decimal places only | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Convert into 2 decimal places only

how do i convert int into 2 decimal places for example i input 10 different number and add it as a summary and then divide into 10 and how can i convert after all the computation into only 2 decimal places. if the average is 84.3 it must be converted into 84.30

10th Aug 2018, 9:01 AM
William Changco
William Changco - avatar
1 Answer
10th Aug 2018, 10:30 AM
TurtleShell
TurtleShell - avatar