In mongo I have amount stored as 4.77 with type double.
I am using mongo's C# driver to read the Bson document
var collection = _mongoDatabase.GetCollection<BsonDocument>("mycollection");
var filter = Builders<BsonDocument>.Filter.Eq("_id", id);
await collection.Find(filter)
.ForEachAsync(document =>
{
var val = document.GetValue("amount");
});
However, it reads the value as 4.7699999999999996

