Example #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}");
Example #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}");