answersLogoWhite

0

It's either floor(x)+1 or ceil(x) depending on what you want to get for integral x numbers:x or x+1

User Avatar

Wiki User

15y ago

What else can I help you with?

Continue Learning about Engineering

What does a round method return in a Java program?

The Math.round() method is used to round off a decimal value to its nearest whole number. If the value beyond the decimal point is > 0.5 then the next number would be returned. Similarly if that value is < 0.5 then the previous value number be returned. For example Math.round(2.75) would yield an output of 3 whereas Math.round(2.25) would yield an output of 2.


How many photos can you get out of a roll of flim?

Divide the lenght of the roll by 2*(pi^2) and round to the next number.


How do you locate a fraction and decimals on a number line?

On a number line used to illustrate values in the study of math, integers or whole numbers are spaced evenly, and fractions are in between the whole numbers. Positive nubmers are to the right of zero and negative to the left. On the positive side, a fraction is placed to the right of the next smaller and to the left of the next larger whole number. It doesn't matter whether you are representing fractions as common fractions (as 5/8 for five eighths) or decimals (as .625). Either way, this number would be to the right of zero and do the left of one. 17.4 would be between 17 and 18.


What is an odd and even number program in visual basic?

I don't now visual basic, but to determine whether or not a number is even or odd, divide it by two twice, and round once. If the rounded result is equal to the non-rounded result, then the original number is even: input n if (n/2.0) == int(n/2.0) print "the number is even"


What is number 8 size screw?

The next size larger from a number 6 size screw.

Related Questions

how do you round 163.8 To the nearest cubic​ centimeter?

164 cubic centimeters. You would round up to the largest next whole number.


How can you round 12.75 to the nearest whole number?

next highest whole number 13


What is 58.6666666667 round to the next whole number?

59.


How do round 6.5 to the nearest whole number?

It is 7. 0.5 to 0.9 more is rounded off to the next whole number


How do you make a number into a whole number?

Round it to the next whole number,so say if you have 7.8 you would round it 8 because you round up if its over half way. if you had 7.4 you would round it to 7 because its less than halfway.


What dose round to the nearest whole percent mean?

You mean 'does' not 'dose'... It means exactly what it says - round up the number to the next whole. for example - if the number was 23.6... you would simply round it up to 24.


What is the nearest whole number for 16.79?

The nearest whole number for 16.79 is 17. When rounding, if the decimal is 0.5 or higher, you round up to the next whole number. Since 0.79 is greater than 0.5, you round 16.79 up to 17.


What is 19.96 rounded to the nearest whole number?

Since your decimal is higher than .500 you round up to the next whole number, in this case it is 20.


What is 27.5 rounded to the nearest whole number?

To round 27.5 to the nearest whole number, we look at the decimal part which is 0.5. Since 0.5 is equal to or greater than 0.5, we round up the whole number to the next highest number. Therefore, 27.5 rounded to the nearest whole number is 28.


What is 1.65 rounded to the whole number?

1.65 rounded to the whole number is "2" When a decimal is more than .5 of the preceding value, you round up to the next number.


How do you round 7593656 to the nearest hundred?

7593656/ 100 = 75936.56 Round to nearest whole number 75937 (usually take 5 up to the next whole number) Multiply by 100 = 7593700 ie 7,593,700


What is 7.6 to the nearest whole number?

When rounding 7.6 to the nearest whole number, you look at the first decimal place, which is 6. Since 6 is greater than or equal to 5, you would round 7.6 up to the next whole number, which is 8.