Searched refs:decPart (Results 1 – 2 of 2) sorted by relevance
717 double decPart = stod(decimal.substr(decimal.find("."))); in GetFractionFromStr() local719 int numerator = decPart * pow(DECIMAL_BASE, decimal.length() - decimal.find(".") - 1); in GetFractionFromStr()
1104 double decPart = stod(decimal.substr(decimal.find("."))); in GetFractionFromStr() local1106 int numerator = decPart * pow(10, decimal.length() - decimal.find(".") - 1); in GetFractionFromStr()