Need to format a set of float variables to 00.00

Posted by javArc on Stack Overflow See other posts from Stack Overflow or by javArc
Published on 2010-06-05T03:58:33Z Indexed on 2010/06/05 12:52 UTC
Read the original article Hit count: 114

Filed under:
|

Ok so I have a database colum 'UnitPrice' with a range of values example: 23, 23.5, 43.23

Now I need to know if there is a way to format them all to the 00.00 format when printing them out. I've been failing at this for about an hour now...

© Stack Overflow or respective owner

Related posts about java

Related posts about jsp