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 and a $ (dollar), 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.
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