JSR$¶
Function¶
JSR$ creates a string of given length where the numeric argument is right justified and padded with leading zeros.
Syntax¶
JSR$(A,N)
A=Numeric argument
N=length
Examples¶
A = -12.34
JSR$(A,8)
returns -0012.34JSR$(A,5)
returns -12.3A = 12.34
JSR$(A,8)
returns 00012.34JSR$(A,5)
returns 012.3Remarks¶
For positive numbers the ‘+’ signs are replaced by ‘0’.
Sign (0 and -) and decimal point each count as one character.