GCX-SCR practice question 7 of 15

By default, scripting doesn't have a separate data type for decimals.

Full set: 60 questions
Answer options
A:

A. True

B:

B. False

Correct Answer:
TRUE
Explanation

In Genesys Cloud CX scripting, there is no distinct data type specifically named "Decimal" or "Float". Instead, the platform provides a general Number data type. This Number type is used to store and manipulate all numeric values, including both integers and floating-point (decimal) numbers. Therefore, the statement that scripting does not have a separate data type for decimals is correct.

Why Incorrect

The "False" option is incorrect because a review of the official Genesys Cloud CX documentation confirms that the available data types for script variables are String, Number, Integer, and Boolean. A dedicated "Decimal" type is not among them; decimal values are handled by the Number type.

References

1. Genesys Cloud CX Resource Center - Script input and output variables: This official documentation page lists the available data types for variables within a script. The list includes "String", "Number", "Integer", and "Boolean", explicitly showing the absence of a separate "Decimal" data type. The Number type is designated for values that may contain a decimal point. (Accessed under the "Scripts" > "Variables" section).

2. Genesys Cloud CX Resource Center - Add a variable to a script: In the instructions for adding a variable, the "Data Type" dropdown menu options are detailed. The documentation confirms the available types are String, Number, Integer, and Boolean, reinforcing that decimal values are managed within the Number type. (Located in the "Tasks" section for script creation).

Scroll to Top