Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Formatting number to Text Format DDDDDDDDCC

Posted on 2016-10-31
1
Medium Priority
?
85 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 101

Accepted Solution

by:
mlmcc earned 2000 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

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…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

782 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