Welcome to the LimeSurvey Community Forum

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

In multiplication, some data outputs are not integers

More
1 year 5 months ago #259054 by Mooogaaa
Please help us help you and fill where relevant:
Your LimeSurvey version: 6.4.12 [see right hand bottom of your LimeSurvey admin screen]
Own server or LimeSurvey hosting:
Survey theme/template:
==================
Hello, I have encountered a problem. When I am performing a simple mathematical multiplication calculation, if I input 90 in Q0, the data I get in next question (1.4*Q0) is not 126, but 125.99999999999999, as shown in the following figure. I have not encountered this situation at any other time. But I am very concerned that similar situations may occur in the future. Although this has a small actual calculation error. But for the respondents, they will be very confused about this number. How can I avoid this situation? Thank you all

 

Please Log in to join the conversation.

More
1 year 4 months ago #259432 by DenisChenu

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The following user(s) said Thank You: Mooogaaa

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose