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 » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How to show a negative number on the table



 
 
Thread Tools Display Modes
  #1  
Old April 24th, 2007, 07:24 PM posted to microsoft.public.access.tablesdbdesign
AccessDB
external usenet poster
 
Posts: 23
Default How to show a negative number on the table

I have a clolumn that I want to show a negative number, but Access
shows 0.00%.
Here is the equation that I'm working from.

Unit Price Change = (Proposed Price - Current Price)/Current Price

So Example would be:
Unit Price Change = (378.62 - 382.44)/382.44


This should give us a -1%, But Access is showing 0.00%
May I please get some help on this matter. Thank you.

  #2  
Old April 24th, 2007, 07:49 PM posted to microsoft.public.access.tablesdbdesign
John W. Vinson
external usenet poster
 
Posts: 18,261
Default How to show a negative number on the table

On 24 Apr 2007 11:24:14 -0700, AccessDB wrote:

I have a clolumn that I want to show a negative number, but Access
shows 0.00%.
Here is the equation that I'm working from.

Unit Price Change = (Proposed Price - Current Price)/Current Price

So Example would be:
Unit Price Change = (378.62 - 382.44)/382.44


This should give us a -1%, But Access is showing 0.00%
May I please get some help on this matter. Thank you.


Take a look at the two good answers posted half an hour before you reposted
your original question.

My guess is that the Unit Price Change field is the default Number datatype, a
Long Integer; integers are by definition whole numbers.

John W. Vinson [MVP]
 




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 02:05 PM.


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