SyntaxFix
Write A Post
Hire A Developer
Questions
Use a DecimalFormat object with a format string of "0.#".