Function trunc

Source
pub extern "C" fn trunc(x: f64) -> f64
Expand description

截断小数部分

§参数

  • x - 输入值

§返回值

返回x的整数部分