Skip to content

Commit

Permalink
Fixed Bson deserialization for doubles in scientific notation
Browse files Browse the repository at this point in the history
  • Loading branch information
lbnascimento committed Aug 6, 2020
1 parent 17e4cde commit a821001
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions LiteDB/Utils/Tokenizer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,7 @@ private string ReadNumber(ref bool dbl)
if (canE == false) break;
canE = false;
canSign = true;
dbl = true;
}
else if (_char == '-' || _char == '+')
{
Expand Down

1 comment on commit a821001

@lbnascimento
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix for #1777

Please sign in to comment.