iink SDK Web

Answered

Math returns three dots when number become too large

Hey!
I am using myscript web math for my app. So when i write number with many decimals myscript returns me number with three dots. For example i write "1.2345" and myscript returns me "1.234..."

image

image



Best Answer

Dear Vadim,


Thank you for contacting us and your question


this is currently "as-design" when exporting as JIIX.


Instead of the "label", you shall use the "value" entry of the JIIX:

 "type": "Math",
"expressions": [ {
"type": "number",
"id": "math/13",
"label": "1.234…",
"value": 1.234567,
...


On your side, is there a reason you would need the label entry?


Best regards,


Olivier


1 Comment

Answer

Dear Vadim,


Thank you for contacting us and your question


this is currently "as-design" when exporting as JIIX.


Instead of the "label", you shall use the "value" entry of the JIIX:

 "type": "Math",
"expressions": [ {
"type": "number",
"id": "math/13",
"label": "1.234…",
"value": 1.234567,
...


On your side, is there a reason you would need the label entry?


Best regards,


Olivier