Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

How do I insert integer numeric value only within this equation

  • yg_zuffetti
  • yg_zuffetti's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 10 months ago #217402 by yg_zuffetti
Hi everyone,
I have the following equation and I have to add that the numeric value can only be integer to avoid decimals in my answers. How do I do so? (is_empty(self.sq_SQ01comment) or is_numeric(self.sq_SQ01comment))  and (is_empty(self.sq_SQ02comment) or is_numeric(self.sq_SQ02comment))  and (is_empty(self.sq_SQ03comment) or is_numeric(self.sq_SQ03comment))Thanks, Yasmeen
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 10 months ago #217410 by Joffm
Hi, Yasmeen
so you have to use a different function.
Please, read the manual about all implemented functions.
[url] manual.limesurvey.org/ExpressionScript_-...mplemented_functions [/url]

Joffm

And: This is obviously not an "Installation & Update Issue"

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose