dulu

Unilogic-num to string

7 posts in this topic

There are 2 options:

1) Use the Message Composer and then use Build Message

2) There is a UDFB that someone wrote, that does that.

1

Share this post


Link to post
Share on other sites

Hello,

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.

0

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?

 

0

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