Changeset 589
- Timestamp:
- 07/02/08 16:55:37 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/tom-tweenlite/lib/com/modestmaps/geo/Location.as
r579 r589 31 31 } 32 32 33 public function toString( ):String33 public function toString(precision:int=5):String 34 34 { 35 return '(' + lat.toFixed(3) + ',' + lon.toFixed(3) + ')';35 return [lat.toFixed(precision), lon.toFixed(precision)].join(','); 36 36 } 37 37 }
