class UnitsLocalizationHelper extends IScriptable
{

	public static function LocalizeDistance( distance : Float ) : String
	{
		if( distance > 1000.0 )
		{
			return FloatToStringPrec( distance / 1000.0, 1 ) + "KM";
		}
		return FloatToStringPrec( distance, 0 ) + "M";
	}

}

