Skip to content

Commit

Permalink
Switched to Double for CLI argument processing (#1317)
Browse files Browse the repository at this point in the history
  • Loading branch information
art-divin committed Mar 28, 2024
1 parent bd8b625 commit 7bc8e19
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ public struct AnnotationsParser {
return
}

if let number = Float(value) {
if let number = Double(value) {
append(key: name, value: NSNumber(value: number), to: &annotations)
} else {
if (value.hasPrefix("'") && value.hasSuffix("'")) || (value.hasPrefix("\"") && value.hasSuffix("\"")) {
Expand Down

0 comments on commit 7bc8e19

Please sign in to comment.