Inserting integers into mongo db with node-red-node-mongodb module

With billions of series values that have to be stored in the mongo DB it's important for me to not waste space with doubles.

If you allow me to get back to my actual problem - anyone having some ideas?