Computer Science, asked by barmananusha5, 5 hours ago

Distinguish between INT(number) and ROUND(number,num_digit)​

Answers

Answered by shanzarasool25
1

The ROUND function rounds a number to a specified number of digits. For example, if cell A1 contains 23.7825, and you want to round that value to two decimal places, you can use the following formula:

ROUND(A1, 2)

The result of this function is 23.78.

An integer (more commonly called an int) is a number without a decimal point. A float is a floating-point number, which means it is a number that has a decimal place

Example

<?php

$a = 1234; // decimal number

$a = -1234; // a negative number

?>

In Python:

# decimal number:

a = 1234

# a negative number:

a = -1234

In Javascript:

// decimal number:

var a = 1234;

// a negative number:

var a = -1234;

hope it helps

mark my answer as brainliest answer

Similar questions