A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Access Function like Excel TRUNC function?



 
 
Thread Tools Display Modes
  #1  
Old February 28th, 2007, 05:55 PM posted to microsoft.public.access.queries
Cyhill
external usenet poster
 
Posts: 8
Default Access Function like Excel TRUNC function?

Is there an access function that performs the same action as the TRUNC
function in excel?

The round function doesn't work for my needs. Don't need to round up, just
lose the decimals.
  #2  
Old February 28th, 2007, 06:31 PM posted to microsoft.public.access.queries
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default Access Function like Excel TRUNC function?

Lose the decimals by Integer function --
Int([YourField])
--
KARL DEWEY
Build a little - Test a little


"Cyhill" wrote:

Is there an access function that performs the same action as the TRUNC
function in excel?

The round function doesn't work for my needs. Don't need to round up, just
lose the decimals.

  #3  
Old February 28th, 2007, 07:02 PM posted to microsoft.public.access.queries
Marshall Barton
external usenet poster
 
Posts: 5,361
Default Access Function like Excel TRUNC function?

Cyhill wrote:

Is there an access function that performs the same action as the TRUNC
function in excel?

The round function doesn't work for my needs. Don't need to round up, just
lose the decimals.


Try using the Int or Fix functions.

--
Marsh
MVP [MS Access]
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:50 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.