4
I have the following problem when I have this function printed
System.out.println("Area do Tetraedro = " + c1.getArea());
the value of it is very great, example:
Tetraedo area = 389.71143170299734
How to leave it with two decimal places? And also, how to put the unit of measure at the end?
I don’t understand the part where you talk about unit of measure, could explain what you need?
– Math
in the end would have to leave so look
– IMoonBlackI
Area of Tetraedo = 389.71 Kg
– IMoonBlackI
area in kilograms?
– Math
it was an example but I already solved here it was worth
– IMoonBlackI
Area of a 3D object, and in kg... :-)
– marcus