Enforce proper numeric input type (float vs int)

Enforce proper numeric input type (float vs integer) in the functions by
replacing {:.0f} to {:d}. In the former case, each function would have
automatically converted floating point values to integers if the zemax
command expected integer. However, this might let errors go undetected.