Table of Contents

Field Data Type: Number

This explains Number Fields. For an overview check out Understanding Data....


Number data is a basic data type and is for any kind of number 1,2,3 or very detailed numbers like 47.020503020400203 which are common in GPS coordinates.

Features

The basic number field doesn't have any features, since all the features are in the sub-types.

Sub-Types of Empty Fields

  1. number-default - is the input field for any kind of numbers like simple numbers, numbers with decimal-digits or very detailed numbers like 47.020503020400203 which are common in GPS coordinates.
  2. drop-down for simple number dropdowns

Shared Settings

Don't have shared settings.


Technical Information

Storage in the SQL Database in the EAV-Model

This is converted to a string when stored as a string in the DB, and converted back to a boolean when the data is loaded.

Storage in the SQL Database in the JSON-Model

This is simply stored as a number in json.

Null Value Possible

In some cases you may add a field to a type which already has Entities created previously. In this case the old data doesn't have a value for the field. If this happens, the field will return null, so you may need to catch this special exception in your code.

History

  1. Introduced in EAV 1.0 2sxc 1.0