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

Quantity automatically rounded to whole number in templates #259

Closed
hql287 opened this issue Mar 9, 2018 · 1 comment
Closed

Quantity automatically rounded to whole number in templates #259

hql287 opened this issue Mar 9, 2018 · 1 comment
Assignees
Labels

Comments

@hql287
Copy link
Owner

hql287 commented Mar 9, 2018

Expected Behavior

The quantity should stay the same in all places, even when it's decimal.

Current Behavior

Even though the calculation is correct, when the quantity is decimal, it will be rounded to the nearest whole number when displaying in templates.

Steps to Reproduce (for bugs)

  1. Create a new invoice with at least one item has quantity as a decimal number (eg. 1.5)
  2. Save & Preview it, notice 1.5 would be rounded to 2 in all templates.

Your Environment

  • Version used: v.1.1.3
  • Operating System and version: macOS
@hql287 hql287 added the bug label Mar 9, 2018
@hql287 hql287 added this to the Build 06 - v1.1.4 milestone Mar 9, 2018
@hql287 hql287 self-assigned this Mar 9, 2018
@hql287 hql287 mentioned this issue Mar 9, 2018
10 tasks
@hql287
Copy link
Owner Author

hql287 commented Mar 9, 2018

Fixed with #260

@hql287 hql287 closed this as completed Mar 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant