Format$

Takes two parameters, a source value, and a formatting mask.

Description:

Format a numeric value using a custom mask

Mask Options:

Examples:

[New] MyVal = 123.456
Html (Format$ MyVal, "0000.0") '0123.5
Html (Format$ MyVal, "###0.0") '123.5
Html (Format$ (MyVal * 1000), "#,.00") '123,456.00
Html (Format$ (MyVal / 1000), "0.00%") '12.34%