Skip to main content
trunc_dp
helixrs
0.0.1
In helixrs::
instruments::
bonds::
linker
helixrs
::
instruments
::
bonds
::
linker
Function
trunc_
dp
Copy item path
pub fn trunc_dp(x:
f64
, dp:
i32
) ->
f64
Expand description
Truncate
x
toward zero at
dp
decimal places.