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
Describe the bug
The "buy" function only accepts integer data, how do I buy something with decimal data? , I am applying "WalletFloat" throughout my project, but when I try to create an item, and I want to pay, it does not withdraw the mentioned amount, which is $100, but 0.1, it is clear that it is because I use decimals, but there is no function to decimals? so that you explicitly put the value in decimal "0.1" and not 100, since you would have to apply another function for the conversion.
To Reproduce
Steps to reproduce the behavior:
use the same configuration from the documentation but with interfaces referring to float
The text was updated successfully, but these errors were encountered:
BUT you need to remember about decimal_places, if it is different for different wallets, then you need to take this into account in the logic of the model.
Describe the bug
The "buy" function only accepts integer data, how do I buy something with decimal data? , I am applying "WalletFloat" throughout my project, but when I try to create an item, and I want to pay, it does not withdraw the mentioned amount, which is $100, but 0.1, it is clear that it is because I use decimals, but there is no function to decimals? so that you explicitly put the value in decimal "0.1" and not 100, since you would have to apply another function for the conversion.
To Reproduce
Steps to reproduce the behavior:
use the same configuration from the documentation but with interfaces referring to float
The text was updated successfully, but these errors were encountered: