javascriptmongodbnegative-zero

can you store negative zero in MongoDB?


In javascript, there is such thing as negative zero. What will MongoDB do with this value?


Solution

  • Just tested. It does store -0 as -0.