Sign is an enumerated value which indicates how the sign of the value
is to be formatted:
Sign | Printu sign format | ||||
0 | Sign format not specified | ||||
1 | Leading + (plus) | ||||
2 | Trailing - (minus) | ||||
3 | Trailing + (plus) |
Pound is the maximum number of positions available for digits including a leading sign, a $ (dollar) and commas, if specified, but excluding a decimal point, if specified. Fill is the character for padding on the left. If dollar is set, a $ (dollar) is to be included. If hasdot is set, a decimal point is to be included and dot is the position before which the decimal point is to be located. If comma is set, commas are to be included before every third digit.
The basic conversion is performed via docvt (see numcvt(io)).
This function supports printu and does not directly implement any BASIC functions.
from The Basmark QuickBASIC Programmer’s Manual by Lawrence Leinweber