Jump to content

Convert number to string

Recommended Posts


I have problem with UDFB called Num to ASCII.ulle. I use it in my project, where i need convert number to ASCII and padding with zeroes.  The convert number to ASCII work well but the padding does not function correctly, when i configure padding (2) the function shoult return me some number and padding with zeroes but still fill place with space. I donť know where is problem.

Can you help me?

Thank you.

Share this post

Link to post
Share on other sites

Well, it partially works.

I put for example a length of 6 and padding 2 (pad with spaces), and I get it pad with 0's except for the most left character, which seem to be a space.

Is that what you are experiencing?


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...