Example #1
0
 public override double ParseItem(string text)
 {
     return(FloatRulesMathHelpers.ParseFloatWithRationalSupport(text, double.Parse, (double a, double b) => a / b));
 }
Example #2
0
 public override decimal ParseItem(string text)
 {
     return(FloatRulesMathHelpers.ParseFloatWithRationalSupport(text, decimal.Parse, (decimal a, decimal b) => a / b));
 }
Example #3
0
 public override float ParseItem(string text)
 {
     return(FloatRulesMathHelpers.ParseFloatWithRationalSupport(text, float.Parse, (float a, float b) => a / b));
 }