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

Could not create item solution/aliquot #192

Open
FabianMauz opened this issue May 31, 2022 · 3 comments
Open

Could not create item solution/aliquot #192

FabianMauz opened this issue May 31, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@FabianMauz
Copy link
Collaborator

FabianMauz commented May 31, 2022

An error occurred when creating a solution from an item. The amount of the original item is 50 mg.

image

image

image

image

image

After saving:
image

@FabianMauz
Copy link
Collaborator Author

My guess is that here the representation as floating point number leads to a minimally larger number (e.g. 50.000001 mg) and when subtracting from the original item here a negative value results.

@FabianMauz FabianMauz added the bug Something isn't working label May 31, 2022
@FabianMauz FabianMauz changed the title Could not create item solution Could not create item solution/aliquot May 31, 2022
@FabianMauz
Copy link
Collaborator Author

The same error occurs at creation of aliquots

image

@FabianMauz
Copy link
Collaborator Author

FabianMauz commented May 31, 2022

Same story

image

0.00001 g was entered in amount text field

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant