You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the moment, to get the Uint256 type from a FPDecimal, we need to use to_u256(). However, this is a bit restrictive when we need to convert several different types into Uint256 inside a macro, for example.
The solution would be to add just this feature to the structure
The text was updated successfully, but these errors were encountered:
Aursen
changed the title
The trait From<FPDecimal> is not implemented for Uint256
The trait From<FPDecimal> for Uint256 is not implemented for FPDecimal
Mar 29, 2024
For the moment, to get the Uint256 type from a FPDecimal, we need to use to_u256(). However, this is a bit restrictive when we need to convert several different types into Uint256 inside a macro, for example.
The solution would be to add just this feature to the structure
The text was updated successfully, but these errors were encountered: