https://manpages.org/truncf
man truncf (1): round to truncated integer value
man truncf (1): These functions shall round their argument to the integer value, in floating format, nearest to but no larger in magnitude than the argument.
manroundtruncatedintegervalue