formatting percentages
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access Training and help » Formatting percentages

Formatting percentages

resolvedResolved · Low Priority · Version 2002/XP

replyReply Mon 28 Apr 2008, 13:27Delegate Steven said...

Steven has attended:
Access Intermediate course

Formatting percentages

When formatting a field to show % how do you stop the figures from automatically rounding up. For example i would like to show 99.71% so i type 0.9971 and it automatically rounds up to 100%. The problem that i face is that all of the records in this field range between 99 and 100% and i need to show them exactly to 2 decimal places.

For upcoming training course dates see: Pricing & availability

replyReply Wed 7 May 2008, 21:50 Edited on Wed 7 May 2008, 22:13Trainer Pete said...

RE: formatting percentages

Hi Steven, Thanks for the post, Try this in your table in design view:

Set the Field properties as follows:

Field Size : Decimal
Format : Percent (Or as per your own preference.)
Precision : 18 (Or as per your own preference.)
Scale : 4 (Has to be set in oder to display values after decimal seperator)
Decimal Places : 2 (Or as per your own preference.)

Hope that works, best regards Pete

 

Please browse our web site to find out more about
microsoft+access+course and other Microsoft training courses.

Access tip:

Create calculated fields that work out your age

You can uset eh year function to work out the year from NOW function and then subtract it with your date of birth type field

Age=Year(Now( ))-Year([DoB])

View all Access hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard