ocelotsloth / lib-ical

GNU Affero General Public License v3.0
2 stars 0 forks source link

3.3.7. Float (Data Type) #30

Open ocelotsloth opened 7 years ago

ocelotsloth commented 7 years ago

Implement the Float data type.

Ensure #23 is complete BEFORE starting this.

Raw RFC Text

3.3.7.  Float

   Value Name:  FLOAT

   Purpose:  This value type is used to identify properties that contain
      a real-number value.

   Format Definition:  This value type is defined by the following
      notation:

       float      = (["+"] / "-") 1*DIGIT ["." 1*DIGIT]

   Description:  If the property permits, multiple "float" values are
      specified by a COMMA-separated list of values.

      No additional content value encoding (i.e., BACKSLASH character
      encoding, see Section 3.3.11) is defined for this value type.

   Example:

       1000000.0000001
       1.333
       -3.14