Thank you for your questions. To answer these: 1- You can indeed use the Math part to recognize only numbers. To get the best of the recognition, we recommend you create a custom gramar definition, which will only support digits as symbols: https://developer.myscript.com/docs/interactive-ink/1.3/android/advanced/build-custom-resources/#math 2-For this, you should set the "math.solver.enable" configuration to false: conf.setBoolean("math.solver.enable", false); Conversion will then only happen when requested.
Best regards,
Olivier
P
Piyush Agarwal
said
almost 2 years ago
Hi Olivier,
Thanks for the reply. However I am still not able to comprehend.
I need a block to understand only numbers and "." basically decimal numbers, and any other number.
Would you be able to help?
Regards,
Piyush
O
Olivier @MyScript
said
almost 2 years ago
Answer
Dear Piyush,
in your gramar, just allow the recognition of digits and dot, that should be fine:symbol = 0 1 2 3 4 5 6 7 8 9 .
Piyush Agarwal
Hi Team,
1. Can i use Maths part only for numbers and nothing else
2. It is converting on the go. Can we postpone that to only convert when we call it to convert?
Regards,
Piyush
Dear Piyush,
in your gramar, just allow the recognition of digits and dot, that should be fine:
symbol = 0 1 2 3 4 5 6 7 8 9 .
Best regards,
Olivier
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstOlivier @MyScript
Dear Piyush,
Thank you for your questions. To answer these:
1- You can indeed use the Math part to recognize only numbers. To get the best of the recognition, we recommend you create a custom gramar definition, which will only support digits as symbols: https://developer.myscript.com/docs/interactive-ink/1.3/android/advanced/build-custom-resources/#math
2-For this, you should set the "math.solver.enable" configuration to false: conf.setBoolean("math.solver.enable", false); Conversion will then only happen when requested.
Best regards,
Olivier
Piyush Agarwal
Hi Olivier,
Thanks for the reply. However I am still not able to comprehend.
I need a block to understand only numbers and "." basically decimal numbers, and any other number.
Would you be able to help?
Regards,
Piyush
Olivier @MyScript
Dear Piyush,
in your gramar, just allow the recognition of digits and dot, that should be fine:
symbol = 0 1 2 3 4 5 6 7 8 9 .
Best regards,
Olivier