/* 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(0);
Double myOtherVal
= 4.15465454; System.
out.
println(nf.
format(myVal
)); System.
out.
println(nf.
format(myOtherVal
)); System.
out.
println(nf.
format(num
)); }
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CmltcG9ydCBqYXZhLnRleHQuTnVtYmVyRm9ybWF0OwoKLyogTmFtZSBvZiB0aGUgY2xhc3MgaGFzIHRvIGJlICJNYWluIiBvbmx5IGlmIHRoZSBjbGFzcyBpcyBwdWJsaWMuICovCmNsYXNzIElkZW9uZQp7CglwdWJsaWMgc3RhdGljIHZvaWQgbWFpbiAoU3RyaW5nW10gYXJncykgdGhyb3dzIGphdmEubGFuZy5FeGNlcHRpb24KCXsKCQlOdW1iZXJGb3JtYXQgbmYgPSBOdW1iZXJGb3JtYXQuZ2V0SW5zdGFuY2UoKTsKICAgICAgICBuZi5zZXRNaW5pbXVtRnJhY3Rpb25EaWdpdHMoMCk7CiAgICAgICAgRG91YmxlIG15VmFsID0gNC4wOwogICAgICAgIERvdWJsZSBteU90aGVyVmFsID0gNC4xNTQ2NTQ1NDsKICAgICAgICBJbnRlZ2VyIG51bSA9IDU2OwogICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbihuZi5mb3JtYXQobXlWYWwpKTsKICAgICAgICBTeXN0ZW0ub3V0LnByaW50bG4obmYuZm9ybWF0KG15T3RoZXJWYWwpKTsKICAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKG5mLmZvcm1hdChudW0pKTsKCX0KfQ==