+ 1

Format output with two decimal places?

example: kilo to lbs converter lbs =2.2. how do I make the output have two decimal places even if it's like 6.30 https://code.sololearn.com/cxHJmT7W38sc/?ref=app

5th Sep 2017, 12:39 AM
ryan parkhurst
ryan parkhurst - avatar
2 Answers
+ 2
In which Language ?
5th Sep 2017, 9:50 AM
Ekansh
0
c++
5th Sep 2017, 1:28 PM
ryan parkhurst
ryan parkhurst - avatar