Exemplo n.º 1
0
 /// <summary>
 /// Converts the <see cref="ConvertedBytes"/> to string with the <see cref="Prefix"/>
 /// </summary>
 /// <param name="format">The formatting to be used</param>
 /// <returns></returns>
 public string ToString(string format) => ConvertedBytes.ToString($"{format} {Prefix}");
Exemplo n.º 2
0
 /// <summary>
 /// Converts the <see cref="ConvertedBytes"/> to string with the <see cref="Prefix"/>
 /// </summary>
 /// <returns></returns>
 public override string ToString() => ConvertedBytes.ToString($"#,##0.######### {Prefix}");