Fixed Exchange Rate Formatting Showing on Steem2ETH Swap

in steem •  11 months ago 

The Steem2ETH Swap showed a IEEE float format in the exchange rate column:

image.png

1706092810881.jpg

which I have identified as a problem in using round() function. And I've fixed it by using:

sprintf("%.10f",$row['rate'])

It works perfectly:
image.png

Steem to the Moon🚀!

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE BLURT!