Newbie: help with Round() function

S

Steve

Hi,
I am using the round function since i wan two decimal places and it doesnt
give me the correct results.
The field in which i apply it is a Real.
So in my querries I have something like:

value1 = 2.3443 and Round(value1,2) = 2.3443 *instead of* 2.34

The funny thing is that I tried it on a copy of the database on SQL Server
and I get the *same* result !!!!...

Is it because I have a fench copy of XPÉ I have changed my regional settings
to English.

PLEASE HELP!
TIA
-steve
 
G

Guest

Maybe you try this

dim str as string
dim val as double

val=2.3443
str=format(val,"Standard")


- Raoul
 

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