Server.Misc.Profile.Format C# (CSharp) Méthode

Format() public static méthode

public static Format ( double value, string format, string &op ) : bool
value double
format string
op string
Résultat bool
		public static bool Format( double value, string format, out string op )
		{
			if ( value >= 1.0 )
			{
				op = String.Format( format, (int)value, (int)value != 1 ? "s" : "" );
				return true;
			}

			op = null;
			return false;
		}
	}