- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
11-04-2015 01:03 AM
11-04-2015 10:00 AM
It's usually better to default everything to a string value (e.g. "1") since most of our templates expect strings. Javascript is also loose enough where you can increment and convert back to a string in one swoop:
b['metrics1'] = (++b['metrics1']) + ""; //increment by 1
Copyright All Rights Reserved © 2008-2023