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 2 years 8 months ago #101622

  • Mr. M
  • Mr. M'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: 2 years 8 months ago by Mr. M.
The administrator has disabled public write access.

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

  • Mr. M
  • Mr. M'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 6 months ago by Mr. M.
The administrator has disabled public write access.

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

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6129
  • Thank you received: 1360
  • Karma: 535
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: Mr. M
Moderators: ITEd
Time to create page: 0.290 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form