/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
import java.text.NumberFormat;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
{
nf.setMinimumFractionDigits(2);
Double myOtherVal
= 4.15465454; System.
out.
println(nf.
format(myVal
)); System.
out.
println(nf.
format(myOtherVal
)); }
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CmltcG9ydCBqYXZhLnRleHQuTnVtYmVyRm9ybWF0OwoKLyogTmFtZSBvZiB0aGUgY2xhc3MgaGFzIHRvIGJlICJNYWluIiBvbmx5IGlmIHRoZSBjbGFzcyBpcyBwdWJsaWMuICovCmNsYXNzIElkZW9uZQp7CglwdWJsaWMgc3RhdGljIHZvaWQgbWFpbiAoU3RyaW5nW10gYXJncykgdGhyb3dzIGphdmEubGFuZy5FeGNlcHRpb24KCXsKCQlOdW1iZXJGb3JtYXQgbmYgPSBOdW1iZXJGb3JtYXQuZ2V0SW5zdGFuY2UoKTsKICAgICAgICBuZi5zZXRNaW5pbXVtRnJhY3Rpb25EaWdpdHMoMik7CiAgICAgICAgRG91YmxlIG15VmFsID0gNC4wOwogICAgICAgIERvdWJsZSBteU90aGVyVmFsID0gNC4xNTQ2NTQ1NDsKICAgICAgICBTeXN0ZW0ub3V0LnByaW50bG4obmYuZm9ybWF0KG15VmFsKSk7CiAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKG5mLmZvcm1hdChteU90aGVyVmFsKSk7Cgl9Cn0=