How does lammps convert unscaled coordinates into scaled coordinates while writing dump files

P.S.: please see the notes about how to properly format your posts here: