Set fixed Decimal places with no rounding

A

azza

Hi.

Im trying to cut off the extra decimal places. i only want it to be 1dp or
2dp depending on the place. I used the LEFT function for the whole numbers,
and played with the =FIXED(A1,1) but this rounds the numbers.

Basically I want 90.789 to = '90.7'. 90.3985=90.3 90.333 = 90.3

The number is a result of a calculation.

Thanks.
 
R

recrit

Hi.

Im trying to cut off the extra decimal places.  i only want it to be 1dp or
2dp depending on the place. I used the LEFT function for the whole numbers,
and played with the =FIXED(A1,1) but this rounds the numbers.

Basically I want 90.789 to = '90.7'.      90.3985=90.3      90.333 = 90.3

The number is a result of a calculation.

Thanks.

TRUNC( 90.789, 1) = 90.7
 
A

azza

Fantastic.

Had tobe something simple. It does not seem to let me to different number of
dp though. ie 90.7898 = 90.78 even after changing the no of digits to 2....

Thanks.
 
F

Fred Smith

"90.7898 = 90.78 even after changing the no of digits to 2"

Isn't that what you want?

Regards,
Fred.
 
A

azza

Sweet.... Found the problem, there was formatting on the cell.. Changed it
back to General and it works. Thanks heaps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top