I was wondering if there was a way to format a number that already has decimals to not have the decimals. However, I want the numbers behind the decimal point to still be there and I want no rounding. For instance, the number is 452.40. I want it display like this:

0000045240

I know how to add the zeros to the beginning to the number but I'm not sure if there is actually a way of removing the decimal from the number without having the number round. Anyone's help would be greatly appreciated as I have searched everywhere and have not found anything remotely close to what I want to do. My code looks like this:

sprintf(OString,"%010s\n", LPCTSTR(ProjTDue1));

ProjTDue1 is the variable in which I am trying to remove the decimal.

Thank you in advance for any help!