Results 1 to 4 of 4
Thread: Converting
- 08-21-2011, 05:02 PM #1
- 08-21-2011, 05:06 PM #2
You want to take a int value, say 10000 and convert it to the String "10k".
Divide the int by 1000, convert the results to a String and concatenate a "k".
Same logic for "1m"
- 08-21-2011, 05:22 PM #3
- 08-21-2011, 05:28 PM #4
Similar Threads
-
Help me Converting jar to jpg and jpg to jar
By nap_patague in forum Advanced JavaReplies: 0Last Post: 03-20-2011, 08:33 AM -
Converting from long to int
By peterhabe in forum New To JavaReplies: 2Last Post: 02-20-2011, 06:14 PM -
converting hex to dec -
By Symbiot in forum New To JavaReplies: 3Last Post: 05-27-2010, 01:56 PM -
need help converting
By sr20guy in forum New To JavaReplies: 16Last Post: 04-02-2010, 01:07 PM -
Converting URL to URI
By Java Tip in forum Java TipReplies: 0Last Post: 12-26-2007, 10:15 AM


1Likes
LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks