This article applies to:
E-Prime 3.0
E-Prime 2.0
This item has been introduced in E-Prime 2.0 (2.0.1.6).
Detail
This feature allows for the entering of a decimal number and returns the number's binary representation as a string. It also takes an optional second parameter indicating the number of digits/places displayed in the return string.
' Example code
Dim strBinString as String
strBinString = Bin(24)
Debug.Print strBinString
Debug.Assert strBinString = "00011000"
For more information view the E-Prime Command Reference for specifics involving E-Basic (https://pstnet.com/ecr).
Comments
0 comments
Please sign in to leave a comment.