fp.from_felt
Creates a new fixed point instance from a felt252 value.
Args
val
(felt252
) -felt252
value to convert in fixed point.
Returns
A new fixed point instance.
Examples
Last updated
Creates a new fixed point instance from a felt252 value.
val
(felt252
) - felt252
value to convert in fixed point.
A new fixed point instance.
Last updated