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

Blockly Unit of Measurement #2104

Closed
ulfwin opened this issue Jul 24, 2023 · 0 comments · Fixed by #2107
Closed

Blockly Unit of Measurement #2104

ulfwin opened this issue Jul 24, 2023 · 0 comments · Fixed by #2107
Assignees

Comments

@ulfwin
Copy link
Contributor

ulfwin commented Jul 24, 2023

Hi. I think there is a mistake in two pictures in the Blockly Unit of Measurement documentation, namely:

![blockly-quantity-comparison](../images/blockly/blockly-quantity-comparison.png)

![blockly-quantity-comparison-if](../images/blockly/blockly-quantity-comparison-if.png)

The pictures implies that regular comparison blocks will work (without the leading "Qty"). In my experience they do not. It's a bit tricky to figure out since there is no error message. My guess is that the strings are compared rather than the quantities, giving valid boolean out, but not the result you expect.

The "More examples" picture below shows it correctly:

![blockly-quantity-comparison-examples](../images/blockly/blockly-quantity-comparison-examples.png)

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 a pull request may close this issue.

2 participants