answersLogoWhite

0


Best Answer

float("0.%u" % string(float_num).replace(".",""))

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you move the decimal point without rounding in python?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is expressed to two decimal places?

It is rounding a decimal representation of a number so that there are two digits after the decimal point.


Convert 511 to a decimal to the nearest hundredth?

Leave it exactly as it is. The answer is 511 - without a decimal point or any other frills. Since it is already an integer, rounding to the nearest hundredth makes no difference.


What can a decrease decimal tool do in excel?

It reduces the number of digits after the decimal point in the display, rounding the number as appropriate.


Word denoting the dropping of numbers behind decimal point?

You may be thinking of rounding (right of the decimal) or zero suppression (left of the decimal).


2.5 round to 1 decimal point?

No rounding is necessary - the number is already rounded to one decimal place.


What does rounding to the nearest dime mean?

Round to the nearest tenth, the first decimal place to the right of the decimal point.


What is 6050.287 rounded to the nearest ten Rounding decimals?

If you are rounding to the nearest tenth (the first decimal position), it is 6050.3, since the 8 in the hundredths position would cause the 2 to round up to 3. If you are rounding to the nearest tens (not a decimal, but the second position to the left of the decimal point), it is 6050. If you are rounding to the nearest 10 decimal places, it is 6050.2870000000.


How do you round 2.447 to one decimal place?

Rounding a number to one decimal place means rounding it to one number after the decimal point (dot/period). The first number after the decimal point is a 4. To determine if it should be rounded up you look at the second number after the decimal with is also a 4. If it were a five or greater you would round up, but it's not so you don't. Thus 2.447 rounded to one decimal place is 2.4


Is a whole number is a number without a fraction or a decimal point?

Yes a whole number is a number without a fraction or a decimal point.


In rounding numbers to the nearest whole number would 49.85 be rounded to 50 or 51?

It would be 50. In rounding up, we add one and truncate the digits after the decimal point. In rounding down, we just truncate the digits. http://en.wikipedia.org/wiki/Rounding#Common_method


What is 0.986 to 2 decimal places?

In this question you need to round 0.986 to two decimal points. This means when you are finished you need two digits to the right of the decimal point. Because there is a third decimal point you need to round. When rounding if the digit tot he right of the place you are rounding is 5 or greater you would round up, otherwise you round down. In this case you are rounding the '8', so look to the right and you see a '6'. Using the previous rounding process make the check: Is 6 >= 5? Yes it is! Therefore you would round the '8' up to a '9'. This results in your answer to be 0.99


What is 310 divided by 3?

103.3333