Welcome Guest, Not a member yet? Register   Sign In
Get max_lenght of numeric field
#2

For a numeric field, the limit is a maximum value, it's not a maximum number of digits. Use the rules 'less_than_equal_to' with the maximum value for a tinyint (127), smallint (32767), etc.
See this page for a list of all the rules: http://codeigniter.com/user_guide/librar...able-rules
Reply


Messages In This Thread
Get max_lenght of numeric field - by pippuccio76 - 05-22-2021, 02:47 AM
RE: Get max_lenght of numeric field - by includebeer - 05-22-2021, 02:07 PM



Theme © iAndrew 2016 - Forum software by © MyBB