Rounding Function

C

Chlaris

Dear all,

I need rounding function. I already have a function for this purpose, but
the result is not consistent when the user change the Regional & Language
Options in Control Panel.
Please help. Thanks.

Chlaris
 
W

Wayne-I-M

Can't be done. If you change the Regional setting you change "everything".
As an example US dollars can be rounded to 2 point but the Chinese Yuan is
normally not rounded as it is a set number

Is there a reason why users need to alter the regional settings ? You
either are in one country are you are not.
 
P

pietlinden

Dear all,

I need rounding function. I already have a function for this purpose, but
the result is not consistent when the user change the Regional & Language
Options in Control Panel.
Please help. Thanks.

Chlaris

which one? ROUND(number, significant figures)?
 
C

Chlaris

I need function like Round(Number, number of digits)
Some countries use . (dot) as decimal point, but others use , (comma) as
decimal point
Thanks.

Dear all,

I need rounding function. I already have a function for this purpose, but
the result is not consistent when the user change the Regional & Language
Options in Control Panel.
Please help. Thanks.

Chlaris

which one? ROUND(number, significant figures)?
 
C

Chlaris

Dear all,

I need rounding function. I already have a function for this purpose, but
the result is not consistent when the user change the Regional & Language
Options in Control Panel.
Please help. Thanks.

Chlaris

which one? ROUND(number, significant figures)?


Examples :

?Round(123.235,2)
123.24
?Round(123.234,2)
123.23
 

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