Parent Directory | Revision Log | Patch
revision 264 by torben, Thu Aug 13 19:03:06 2009 UTC | revision 265 by torben, Thu Aug 13 20:08:16 2009 UTC | |
---|---|---|
# | Line 233 public class RadarView extends SurfaceVi | Line 233 public class RadarView extends SurfaceVi |
233 | } | } |
234 | ||
235 | String formatLength(int meters) { | String formatLength(int meters) { |
236 | if (meters == 1500) //yuck, special cases !!! | |
237 | return "1.5 km"; | |
238 | ||
239 | if (meters>=1000) | if (meters>=1000) |
240 | return "" + (meters/1000) + " km"; | return "" + (meters/1000) + " km"; |
241 | else | else |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |