Hi!
I have a number like this: 4,12124654
i want it to write out, but in format 2%2 (in perl) so the part of integer should be 1 or 2 chars, the part of decimal shold be 2 chars.
Is there any str function for this ?
Thx Lolka
printf(), sprintf() and number_format() are your friends.
thx, sprintf what i am using now.
Vaso