Welcome, Guest
Username: Password: Remember me

TOPIC: Long integer question

Long integer question 9 months 1 day ago #98257

  • AndrejL
  • AndrejL's Avatar
  • OFFLINE
  • Bronze Donor
  • Posts: 35
  • Karma: 1
Hi!

We completed a short survey where one of the questions was to enter a long digit number (19 digits). Some sort of card id number.

Now when I export the data LS shortened my number in to something like '7.0800177000131e+18'.

When I change output format to number LS automaticaly filles zeros at the end of number so it has 19 digits.

For example if I enter 1111111111111111111 I get '1,11111E+18'. And if I transform it to number 1111111111111100000.

Is there any hope that my answers are not lost?

Thank you,

Andrej
The administrator has disabled public write access.

Long integer question 8 months 4 weeks ago #98335

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 5854
  • Thank you received: 716
  • Karma: 222
For "card id" number, i allways thinks it's not numeric but text.

Better is to use texte question type and not numeric question type.

Denis
(and you can use some regexp on question: [0-9]{19} for example.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.098 seconds
Donation Image