Beispiel #1
0
        public static bool TryParse(string s, NumberStyles style, IFormatProvider provider, out ProtoDouble result)
        {
            double dResult;
            bool   isSuccess = Double.TryParse(s, style, provider, out dResult);

            result = new ProtoDouble(dResult);
            return(isSuccess);
        }
Beispiel #2
0
        //TryParse functions
        public static bool TryParse(string s, out ProtoDouble result)
        {
            double dResult;
            bool   isSuccess = Double.TryParse(s, out dResult);

            result = new ProtoDouble(dResult);
            return(isSuccess);
        }
Beispiel #3
0
 public ProtoDouble(ProtoDouble d)
 {
     this.value = d.value;
 }
Beispiel #4
0
 public static bool TryParse(string s, NumberStyles style, IFormatProvider provider, out ProtoDouble result)
 {
     double dResult;
     bool isSuccess = Double.TryParse(s, style, provider, out dResult);
     result = new ProtoDouble(dResult);
     return isSuccess;
 }
Beispiel #5
0
 //TryParse functions
 public static bool TryParse(string s, out ProtoDouble result)
 {
     double dResult;
     bool isSuccess = Double.TryParse(s, out dResult);
     result = new ProtoDouble(dResult);
     return isSuccess;
 }
Beispiel #6
0
 public ProtoDouble(ProtoDouble d)
 {
     this.value = d.value;
 }