1. verdelino
  2. General
  3. Wednesday, June 10 2015, 09:04 AM
Hi,

there is a strange issue with my NUMBER field.
I have a field which, if user fills it, contains 15 digits.

On options number field, I put:
Default value - empty
May value - 999999999999999
Min value - 0
Step - 1

What happens, is, when I enter 123451234512345,
my profile shows 2147483647.
So it changes the entered number. (?)

Why?

Thank you
Accepted Answer
admin Accepted Answer
Admin
Hi,
on DB table the column to store number have Sql type "int", you need to change this from "int" to "bigint" with some tool like PhpMyAdmin.
See at this link the difference of integer types: https://msdn.microsoft.com/en-gb/library/ms187745.aspx. In this link you can see the max value of "int" type: 2,147,483,647
  1. more than a month ago
  2. General
  3. # Permalink
verdelino Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.