home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
basic
/
baswiz18.zip
/
BW$BAS.ZIP
/
BCDINT.BAS
< prev
next >
Wrap
BASIC Source File
|
1992-08-29
|
754b
|
15 lines
' +----------------------------------------------------------------------+
' | |
' | BASWIZ Copyright (c) 1990-1992 Thomas G. Hanlin III |
' | |
' | The BASIC Wizard's Library |
' | |
' +----------------------------------------------------------------------+
DECLARE FUNCTION BCDFormat$ (Nr AS STRING, HowToFormat%, RightDigits%)
DECLARE FUNCTION BCDSet$ (NumSt$)
FUNCTION BCDInt$ (Nr AS STRING)
BCDInt$ = BCDSet$(BCDFormat$(Nr, 0, 0))
END FUNCTION