Description Formats output expressions for printing.
Syntax str = Format( expression, frmt )
Parameters str (String) String form of expression with format frmt imposed.
expression As Variant Numeric expression.
frmt As Variant Format style.
Remarks Formats output expressions for printing.
See Also Example To truncate a double precision number to three decimal places and print the result to the Output Window: v1=3.1415926535898e-012 Print Format(v1, "0.000#")
|