L
laredotornado
Hi,
I'm using Java 1.6. For the purposes of writing the "cents" from a
BigDecimal in a special way on a JSP page, how do I extract only the
two decimal places from a BigDecimal number? For example, if my
number is
123.45123
I want to get the number "45" (the two numbers after the decimal
place) into a string. Rounding is not important. Thanks, - Dave
I'm using Java 1.6. For the purposes of writing the "cents" from a
BigDecimal in a special way on a JSP page, how do I extract only the
two decimal places from a BigDecimal number? For example, if my
number is
123.45123
I want to get the number "45" (the two numbers after the decimal
place) into a string. Rounding is not important. Thanks, - Dave