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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now