public static string ToPrettySeconds(this VRage.Library.Utils.MyTimeSpan timeSpan) { return(PrettySI.makePretty(timeSpan.Seconds) + 's'); }
public static string ToPretty(this Vector3D vec, byte sigFigs = 3) { return('{' + PrettySI.makePretty(vec.X, sigFigs, false) + ", " + PrettySI.makePretty(vec.Y, sigFigs, false) + ", " + PrettySI.makePretty(vec.Z, sigFigs, false) + '}'); }