Can I convert variables type in input script? For example, I need to convert a floating point of 1700.231234 to a integer of 1700 so that I can assign it as my “run” command input.
Can I convert variables type in input script?
no.
For example, I need to convert a floating point of 1700.231234 to a integer of 1700 so that I can assign it as my “run” command input.
please check out the floor() function. https://lammps.sandia.gov/doc/variable.html
axel.