/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
import java.math.BigDecimal;
import java.text.DecimalFormat;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
{
double decimal = -5.5;
double bigDecimal = bd.doubleValue();
System.
out.
println("BigdecimalFormat: " + bigDecimal
);
}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwppbXBvcnQgamF2YS51dGlsLio7CmltcG9ydCBqYXZhLmxhbmcuKjsKaW1wb3J0IGphdmEuaW8uKjsKaW1wb3J0IGphdmEubWF0aC5CaWdEZWNpbWFsOwppbXBvcnQgamF2YS50ZXh0LkRlY2ltYWxGb3JtYXQ7CiAKLyogTmFtZSBvZiB0aGUgY2xhc3MgaGFzIHRvIGJlICJNYWluIiBvbmx5IGlmIHRoZSBjbGFzcyBpcyBwdWJsaWMuICovCmNsYXNzIElkZW9uZQp7CglwdWJsaWMgc3RhdGljIHZvaWQgbWFpbiAoU3RyaW5nW10gYXJncykgdGhyb3dzIGphdmEubGFuZy5FeGNlcHRpb24KCXsKCQlkb3VibGUgZGVjaW1hbCA9IC01LjU7CgkJQmlnRGVjaW1hbCBiZCA9IG5ldyBCaWdEZWNpbWFsKGRlY2ltYWwpOwogCgkJYmQgPSBiZC5zZXRTY2FsZSgwLCBCaWdEZWNpbWFsLlJPVU5EX0hBTEZfVVApOwoJCWRvdWJsZSBiaWdEZWNpbWFsID0gYmQuZG91YmxlVmFsdWUoKTsKCQlTeXN0ZW0ub3V0LnByaW50bG4oIkJpZ2RlY2ltYWxGb3JtYXQ6ICIgKyBiaWdEZWNpbWFsKTsKIAogCgl9Cn0=