public class MyClass { public static void main(String[] args) { System.out.println(Math.abs(-4.7)); } }