FormatNumb




Print Format$(Format$(123.45, "0.00"), "@@@@@@@@")
Print Format$(Format$(3.4, "0.00"), "@@@@@@@@")
Print Format$(Format$(12345.6, "0.00"), "@@@@@@@@")

'produces the following list:

' 123.45

' 3.40

'12345.60

Use Format$(value, "0.00") to get 2 decimal places.
Combine this with the "@@@@@" formats to get right
justified numbers. For example:











( formatnumb.html )- by Paolo Puglisi - Modifica del 17/12/2023