Пример #1
0
 internal static Task <double> ConvertFromSiAsync(double value, string parameter, string fromSi)
 {
     return(ExpressionParser.EvaluateAsync(value, parameter, fromSi));
 }
Пример #2
0
        internal static double ConvertFromSi(double value, string parameter, string fromSi)
        {
            var result = ExpressionParser.Evaluate(value, parameter, fromSi);

            return(result);
        }