Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix transaction amount_float mutator #534

Merged
merged 4 commits into from
Jul 28, 2022
Merged

Fix transaction amount_float mutator #534

merged 4 commits into from
Jul 28, 2022

Conversation

rez1dent3
Copy link
Member

keatliang2005 and others added 4 commits July 28, 2022 15:36
I have notice the mutator on the transaction model display somewhat funky. 

example i had the wallet set to 4 decimal precision, when access with `$model->amount_float`

i had `"0.0120000000000000000000000000000000000000000000000000000000000000"` as result

when i made changes above (on PR) it display correctly `"0.0120"`
@rez1dent3 rez1dent3 self-assigned this Jul 28, 2022
@rez1dent3 rez1dent3 merged commit ce457f2 into master Jul 28, 2022
@rez1dent3 rez1dent3 deleted the float_mutator branch August 8, 2022 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants