Skip to content

Commit

Permalink
only for int
Browse files Browse the repository at this point in the history
  • Loading branch information
123FLO321 authored Sep 26, 2018
1 parent 9d92dbf commit 36a1fd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/PerfectLib/JSONConvertible.swift
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ private class JSONDecodeState {
if needPeriod && needExp {
return Int(s) ?? s
}
return Double(s) ?? s
return Double(s)!
} else {
break
}
Expand Down

0 comments on commit 36a1fd9

Please sign in to comment.