Avatar of vhpcomp
vhpcomp

asked on 

ASP solution to format number as percentage?

Using vbscript, is the FormatPecent function available? When I tried to format a rst field I received an error.

I return a rst field from SQL that is already multiplied by 100 in the back end, so without applying any client side formatting, the numbers display like this:
8.36
4.7
4.26

I want to display:
8.36%
4.70%
4.26%

What is the most efficient way to accomplish this using vbscript ASP?

Thanks!
ASP

Avatar of undefined
Last Comment
fritz_the_blank

8/22/2022 - Mon