Hello, I have a number and I need to format it to the cobol number format... Like this :
before : 59.80
after : 000005980
Getting rid of the decimal is easy, just multiply by a hundred. But I can't make the leading 0's get in there. Can someone help me?
Thanks,
demoniac
before : 59.80
after : 000005980
Getting rid of the decimal is easy, just multiply by a hundred. But I can't make the leading 0's get in there. Can someone help me?

Thanks,
demoniac