As far as I know Mongoose does not natively support long and double data types. “number” is a “schema type”, it just for input validation…
It is same on Atlas, these types for input validation, unless you pick Decimal128, mongodb stores everything same way generic number.