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
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