Exemple #1
0
 public virtual string ToSIString(int digits = 3, int MinMagnitude = 0, int MaxMagnitude = int.MaxValue)
 {
     return(string.Format(
                "{0}{1}",
                MuMechTools.MuMech_ToSI(this, digits, MinMagnitude, MaxMagnitude),
                this.Units
                ));
 }
Exemple #2
0
 public virtual string ValueUnitString(int digits, int MinMagnitude, int MaxMagnitude)
 {
     return(MuMechTools.MuMech_ToSI(this, digits, MinMagnitude, MaxMagnitude) + this.Units);
 }