Added some examples to the percent method documentation to show how it formats.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@1499 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
ray
2004-08-25 00:39:57 +00:00
parent e8cc8b5f4b
commit 2f1630d738
@@ -62,6 +62,10 @@ public class StringTool
/**
* Convert a float to a nicely formated percent string.
* Examples:
* .34 "34.00%"
* .341 "34.10%"
* .34121 "34.121%"
*/
public String percent (float value)
{