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

fb_unit() handling of nonnumeric values #45

Open
mkraska opened this issue Feb 15, 2024 · 1 comment
Open

fb_unit() handling of nonnumeric values #45

mkraska opened this issue Feb 15, 2024 · 1 comment

Comments

@mkraska
Copy link
Owner

mkraska commented Feb 15, 2024

image

If the input isn't numeric, the feedback can be meaningless.

Solution: catch this case in fb_unit().

@mkraska
Copy link
Owner Author

mkraska commented Feb 15, 2024

Handling is nontrivial because of

 %_snum: float(simplify(stack_units_nums(stack_unit_si_to_si_base(%_sans)))),

resulting in the value NULLNUM for nonnumeric values.

So the problem has to be catched separately in the potential response tree.

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

No branches or pull requests

1 participant