Solved

Formatting number to Text Format DDDDDDDDCC

Posted on 2016-10-31
1
30 Views
Last Modified: 2016-11-01
The bank wants the check amount in format DDDDDDDDCC

52.34
17754.35

I want:
0000005234
0001775435

I tried
ToText({chck.chck_amnt},'0000000000',2,"","")

and the results are:
0000000052
0000017754

{chck.chck_amnt} is a number field
0
Comment
Question by:Lisa Jasperse
1 Comment
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 41867649
Try this formula

Picture(Replace(Totext(12345.67,2,''),'.',''), '000000000000000')

Another way

Replace(ToText(12345.67,'000000000000000.00'),'.','')



mlmcc
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now