日期:2014-05-20 浏览次数:20861 次
package test;
import java.beans.BeanInfo;
import java.beans.IntrospectionException;
import java.beans.Introspector;
import java.beans.PropertyDescriptor;
import java.lang.reflect.InvocationTargetException;
import java.math.BigDecimal;
import java.util.Random;
public class Testday1 {
public static void main(String[] ages) throws Exception{
text_1();
// System.out.println(uu);
}
private static void text_1() {
// TODO Auto-generated method stub
BigDecimal b = new BigDecimal(0.12345678910111213141516);
System.out.println(b);
double d = 0.12345678910111213141516;
System.out.println(d);
}