- Posts: 115
- Thank you received: 20
Ask the community, share ideas, and connect with other LimeSurvey users!
Please Log in to join the conversation.
Anyway: What's the reason for this?For consistency between JavaScript and PHP, the plus operator (+) does addition if both operands are numeric, but does concatenation if both parts are non-numeric strings. However, we recommend using the "join()" function for concatenation, as that makes your intent more clear. It also avoids unexpected results if you were expecting strings but got numbers instead (or vice versa).
Please Log in to join the conversation.
Please Log in to join the conversation.