kiban254
kiban254 kiban254
  • 01-05-2019
  • Computers and Technology
contestada

Which of the following evaluates to the variable x rounded to two decimal places?

A. round(x, 2)
B. round(2, x)
C. round(x), 2
D. round(2), x

Respuesta :

sylvain96
sylvain96 sylvain96
  • 11-05-2019

Answer:

A. round(x, 2)

Explanation:

It depends on the specific language you're using, but in most language it will follow the syntax round(x, 2).

In the first parameter you enter the value to be rounded (in this case 'x'), and in the second parameter you indicate how many decimals you want to have it rounded to (in this case '2').

Let's suppose we have number 34,54924 as x:

round(x,0) = 35

round(x,1) = 34,5

round(x,2) = 34,55

round(x,3) = 34,549

Answer Link

Otras preguntas

What fraction of the original area is the area of the reduced blood vessel? How might a calculation like this help a biomechanical engineer working in the field
As charges move in a closed loop, they 1. gain as much energy as they lose 2. gain and lose energy but gain more then they lose 3. lose energy 4. gain energy
oxidation and reduction go side by side ​
A card board moving box measure 16in long 10in wide and 12in high. Find the volume of the moving box​
Please what is the answer
hello! anyone want to be fri3nds? im lonely lol
Without using logarithm tables, find the value of x given that: 2log2/3 = 1/2logx - log 18 + log 16
the angles in a quadilateral are are 61,4x,115,96 degrees, find the value of X.​
An electrician leans an extension ladder against the outside wall of a house so that it reaches an electric box 28 feet up. The ladder makes an angle of 60° wit
in which diagram are angles 1 and 2 supplementary