Denis,
I use this format all the time with VTK, especially with update forms where I need to show either the original value or the updated value if validation catches an error.
How are you using the code and for what purpose ?
Your answer worked for DFP upload size thanks.