diff options
author | Matthias Andreas Benkard <matthias@benkard.de> | 2008-06-15 23:06:18 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <matthias@benkard.de> | 2008-06-15 23:06:18 +0200 |
commit | e8ac596e3cfb1b8ee0b636def0ef1c1005f3957d (patch) | |
tree | 7a0d6b80a945a826ec8b81a6435928dc4803aa5b /MLKReader.m | |
parent | ebda48e66584c562d3c1f44693b0041fca36e926 (diff) |
Add class MLKRatio.
Diffstat (limited to 'MLKReader.m')
-rw-r--r-- | MLKReader.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MLKReader.m b/MLKReader.m index 14a6268..eb9a9fc 100644 --- a/MLKReader.m +++ b/MLKReader.m @@ -355,12 +355,13 @@ // Assume token[i] is a slash. i++; secondNum = i; - + return [MLKRatio ratioWithNumeratorString: [token substringWithRange: NSMakeRange (firstNum, secondNum - firstNum - 1)] denominatorString:[token substringFromIndex:secondNum] + negative:negative base:[base intValue]]; } else |