Print Page | Close Window

Formatting Decimals

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=15299
Printed Date: 15 November 2024 at 6:49am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Formatting Decimals
Posted By: ChrisRichardson
Subject: Formatting Decimals
Date Posted: 06 October 2009 at 4:44am
Hi All,
 
Can someone help with the simple issue of formatting a decimal in a report record item?
 
I have a report with a currency column - currently this displays a pre-formatted string of 12345.10.  The problem with this is it does not sort unless I set the sort priority manually.
 
I would prefer to avoid setting the sort priority. - How can I format the decimal in the record item so it always prints 2 decimal places?  Currently the report control only displays 12345.1.
 
Thanks,
 
Chris
 
 
Product: Xtreme SuitePro (ActiveX) version 11.1.3
Platform: Windows XP (32bit) - SP 2
Language: Progress OpenEdge 10



Replies:
Posted By: mdoubson
Date Posted: 07 October 2009 at 6:52am
Use format settings "Your text filler %.02f"

-------------
Mark Doubson, Ph.D.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net