Difference between revisions of "Float field"

From EPrints Documentation
Jump to: navigation, search
m (Reverted edit of JxqP6i, changed back to last version by Tajoli)
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{reference}}
 
 
{{fieldtypes}}
 
{{fieldtypes}}
 
+
__NOTOC__
== Inherritance ==
+
== Inheritance ==
  
 
* [[Metadata]]
 
* [[Metadata]]
Line 22: Line 21:
  
 
None.
 
None.
 +
 +
== Database ==
 +
 +
Float fields are stored in the database as
 +
 +
fieldname FLOAT

Revision as of 13:29, 24 August 2007

EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects


Metadata Fields: Arclanguage - Base64 - Bigint - Boolean - Compound - Counter - Dataobjref - Date - Decimal - Email - Fields - Float - Id - Idci - Image - Int - Itemref - Keywords - Langid - Longtext - Longtext_counter - Multilang - Multipart - Name - Namedset - Pagerange - Recaptcha - Relation - Search - Secret - Set - Storable - Subject - Subobject - Text - Time - Timestamp - Url - Uuid

Inheritance

Description

Stores a floating point number (may be negative). In 3.0 there is no way to search these values. They might as well be just strings, but they are stored as FLOAT in the database.

This field is used for the latitude and longitude built in fields in User Objects and EPrint Objects.

The usefulness of this field will be expanded in later versions of EPrints.

Properties

No extra properties.

Required Phrases

None.

Database

Float fields are stored in the database as

fieldname FLOAT