nuance_DOUBLE
Fractions and decimal-point numbers.
Tip:
Choose nuance_DOUBLE, instead of nuance_NUMBER or nuance_CARDINAL_NUMBER, for numerical entities that must only be fractions or contain a decimal point.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
}
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.