Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

string to bigdecimal


System.out.println(new BigDecimal(135.69)); //135.68999999999999772626324556767940521240234375
System.out.println(new BigDecimal("135.69")); // 135.69
System.out.println(BigDecimal.valueOf(135.69)); // 135.69

Source by coders911.org #
 
PREVIOUS NEXT
Tagged: #string #bigdecimal
ADD COMMENT
Topic
Name
2+1 =