Make Variable 2 Decimal places

L

Les

I am trying to output a currency variable to 2 decimal places is there a
format for this?.

Thanks

Les
 
J

Jeff Boyce

Les

You didn't indicate if the underlying field was of type currency, or if you
are describing a form (or a query). There's a CCur() function (change to
currency) you can use in a query, and there's formatting you can do, both in
queries and forms. Take a look at the properties of the specific
field/control.
 
L

Les

Sorry Jeff

What I am doing is

Set SalesCalc = CurrentDb.OpenRecordset("tblSales_Calculation") 'table
Name

Salestot = SalesCalc!curSales_Total 'This is a currency field.

I am then sending this to the message part of an email and im getting 4
decimal places.

It's set to currency 2 decimal places in the table?

Les
 

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