Computer Science, asked by adya18, 1 year ago

Give at least two to three differences between rint() and round() in Java... Please give the answer in points..

Answers

Answered by nehar1306
1

rint():

1-it returns int value.

2-it returns the truncated value of the number

3-Math.rint();

round():

1- it returns double value.

2- it returns the rounded off value up to the nearest integer

3-Math.round();

______________________________________________________

(3 point can be a syntax).

HOPE THIS HELPS YOU

HIT "thanks" IF IT DOES

Answered by xcristianox
2

  • The abs() function is an inbuilt function in PHP which is used to return the absolute (positive) value of a number. ... Return Value: It returns the absolute value of the number passed to it as argument.

Similar questions