Multiple choice technology architecture

Which XML-RPC data type would be best suited to hold the number 8.67?

  1. boolean

  2. double

  3. int

  4. string

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In XML-RPC, the double data type is used for floating-point and decimal numbers. The value 8.67 requires a decimal/floating-point representation, making double the appropriate choice. Boolean is for true/false, int is for whole numbers, and string is for text.