Skip to main content
decimal_from_f64
hypercall
0.1.0
In hypercall::
rsm::
portfolio_
margin::
risk_
account_
builder
hypercall
::
rsm
::
portfolio_margin
::
risk_account_builder
Function
decimal_
from_
f64
Copy item path
Source
fn decimal_from_f64(value:
f64
, symbol: &
str
) ->
Result
<Decimal,
RiskError
>