Commit 45ee0ec1 authored by Tetsuro Takemoto's avatar Tetsuro Takemoto 🐝

Fixed defects after the code review

parent ea9306c0
......@@ -70,8 +70,7 @@ extension String {
return self.prettyPrintInt()
}
// let sp: String = String(decimalSeparator.prefix(1))
let split: [Substring] = self.split(separator: decimalSeparator[0], maxSplits: 1, omittingEmptySubsequences: false)
let split = self.split(separator: decimalSeparator[0], maxSplits: 1, omittingEmptySubsequences: false)
if split.count < 2 {
return self.prettyPrintInt()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment