Domanda

Type the MongoDB ObjectID 52489e882967060200000283 into a cell in a Google spreadsheet and it's clobbered by . What gives?

È stato utile?

Soluzione

See that small e in the middle? Google Sheets is treating this as a number in exponent form. i.e.

52489 x 10^882967060200000283

Probably less than the number of subatomic particles in the known universe, but close enough to infinity not to matter.

Edit: Actually, the number of atoms in the known universe is estimated to be about 1 x 10^82, so this is slightly larger...

Altri suggerimenti

I remember that mongo objectID is in hexadecimal. So the e actually means 14. But google mistakenly treat it as a exponential.

Source: https://docs.mongodb.com/manual/reference/method/ObjectId/

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top