nuance_DOUBLE

Fractions and decimal-point numbers.

Sample language

  • 2.7
  • one and two tenths
  • point 5
  • 2 1/3

Examples

Responses for the above samples are shown below.

Example: 2.7

{
  "nuance_DOUBLE": 2.7
}

Example: one and two tenths

{
  "nuance_DOUBLE": 1.2
}

Example: point 5

{
  "nuance_DOUBLE": 0.5
}

Example: 2 1/3

{
  "nuance_DOUBLE": "2 1/3"
}

New for v9.x and v10.x

Example: -22 and a half

{
  "nuance_DOUBLE": "-22.5"
}

Numeric value range

  • For the whole part and decimal part in decimal-point numbers: <= 99,999,999
  • For fractions: Denominators up to tenth

Schema

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
     "nuance_DOUBLE": {
       "anyOf": [
         {
           "type": "number"
         },
         {
           "type": "string"
         }
       ]
     }
  },
  "additionalProperties": false
}