Yeah, I use the NumberFormat: NumberFormat numberFormat = DecimalFormat.getInstance(); numberFormat.setMaximumFractionDigits(2); String formattedText = numberFormat.format(yourFloat);
On Aug 16, 11:13 am, "Maps.Huge.Info (Maps API Guru)" <[email protected]> wrote: > Do you want to round or display it as text? > > Try looking up java.text.DecimalFormat if you want text. > > -John Coryat -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

