Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Silly rounding number in numerical field

Silly rounding number in numerical field 3 years 3 weeks ago #101622

  • MrM
  • MrM's Avatar
  • Offline
  • Junior Lime
  • Posts: 25
  • Karma: 0
Hi,

I added a numerical field, max = 5 characters, where people could fill in a time, eg 22.45 (quarter to eleven)

In the output I find 22.45 printed as: 22.450000762939

Does anyone knows what is happening?
And can I change it without deactivating the questionnaire?

(Yes, I know, I should have used a Short Free txt question with a regular expression)
But then I need to deactivate the survey .... which I rather no do.

Thanks, Marten
Last Edit: 3 years 3 weeks ago by MrM.
The administrator has disabled public write access.

Silly rounding number in numerical field 2 years 10 months ago #103294

  • MrM
  • MrM's Avatar
  • Offline
  • Junior Lime
  • Posts: 25
  • Karma: 0
Was a bug -> bugs.limesurvey.org/view.php?id=8409
Solved in version 2.05
Will the solution be added to the 1.9 versions as well?
Last Edit: 2 years 10 months ago by MrM.
The administrator has disabled public write access.

Silly rounding number in numerical field 2 years 10 months ago #103296

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6571
  • Thank you received: 1477
  • Karma: 579
The 1.9 versions are no longer updated.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.
The following user(s) said Thank You: MrM
Time to create page: 0.211 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form