Dan Romero pfp
Dan Romero
@dwr.eth
What’s something you wish Farcaster did better? Will only ask clarifying questions!
127 replies
96 recasts
493 reactions

0010 pfp
0010
@0010
Floating Point Precision Issue in Wallets When dealing with tokens that have a large number of decimal places, users may encounter an issue when attempting to sell their entire balance. Specifically, selecting the “Max” option may cause the button to become disabled (greyed out), preventing the transaction from executing. This typically occurs because the system automatically fills in a quantity that slightly exceeds the actual available balance—likely due to rounding or floating point precision errors. To prevent overflow or transaction failure, the system appears to round up the amount, which unintentionally results in an invalid input.
0 reply
0 recast
0 reaction