Home
last modified time | relevance | path

Searched refs:mFraction (Results 1 – 1 of 1) sorted by relevance

/packages/apps/ExactCalculator/src/com/android/calculator2/
DCalculatorExpr.java118 private String mFraction; // String after decimal point. field in CalculatorExpr.Constant
123 mFraction = ""; in Constant()
131 mFraction = in.readUTF(); in Constant()
140 out.writeUTF(mFraction); in write()
169 mFraction += val; in add()
189 } else if (!mFraction.isEmpty()) { in delete()
190 mFraction = mFraction.substring(0, mFraction.length() - 1); in delete()
211 result += mFraction; in toString()
226 if (mFraction.isEmpty()) { in toRational()
233 BigInteger num = new BigInteger(whole + mFraction); in toRational()
[all …]