Use a library that provides dimensional analysis and unit/quantity manipulation.
Once we switch to c++20 then we should use this library to make unit convertions safe. Ideally we also provide units for the parser such that the user can provide quantities in different units than meter, seconds etc.
Edited by kraus