Hi there how can i format a number so that if it is :
1 to return 01
and 14 to leave it as it is?
I cant seem to get it to work on CF
cheers
Printable View
Hi there how can i format a number so that if it is :
1 to return 01
and 14 to leave it as it is?
I cant seem to get it to work on CF
cheers
If the problem is as simple as this: The number must be two digits, padded with 0's as need be.
Then I'd be tempted to just write my own function:
VB Code:
public function FormatString(st1 as string) as string if st1.length=1 then st1 = "0" & st1 end if formatstring=st1 end function