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  

Add % to Existing Number



 
 
Thread Tools Display Modes
  #1  
Old December 7th, 2009, 05:06 AM posted to microsoft.public.access.queries
Hari[_2_]
external usenet poster
 
Posts: 1
Default Add % to Existing Number

Hi All,

How can show my filed with rounded number and with % in other field.

ex (0 = 0.00%
0.1 = 0.01%
2.5555 = 2.56%
5.666777 = 5.67%)

Please help

Regards
Hari.


  #2  
Old December 7th, 2009, 07:58 AM posted to microsoft.public.access.queries
Allen Browne
external usenet poster
 
Posts: 11,706
Default Add % to Existing Number

Set the Format property to Percent.

If you have existing data were 2.5 actually means 2.5%, use an Update query
to divide the field by 100.

If you use Access 2007 and you set the Format property of to Percent, the
percent sign is added for you automatically, so when you enter 2.5 it is
interpreted as 2.5%. If you are using an earlier version, use the code in
this link to automatically add the % sign for you so:
Enter a value as a percent
at:
http://allenbrowne.com/casu-16.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.


"Hari" Hari @discussions.microsoft.com wrote in message
...
How can show my filed with rounded number and with % in other field.

ex (0 = 0.00%
0.1 = 0.01%
2.5555 = 2.56%
5.666777 = 5.67%)


 




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:20 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.