I guess the “issue” is the last line, where you are trying to put a numeric value into a text-element, which expects a string. Use .toString() or .toFixed() or .toPrecision().
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Calculate with collection field TIME and timepicker | 6 | 323 | September 10, 2019 | |
| Code for the time difference in hours in a time picker | 4 | 284 | August 21, 2022 | |
| Calculate timings | 5 | 238 | May 30, 2022 | |
| calculate TIME difference in user form / show and save in database | 2 | 256 | September 9, 2019 | |
| Date picker Select Value | 20 | 1792 | March 19, 2018 |