Difference between revisions of "I2BIN()"
From Lianjapedia
Helen.george (Talk | contribs) |
|||
Line 21: | Line 21: | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | [[Category: | + | [[Category:Formatting Functions]] |
− | + | ||
[[Category:Lianja VFP Extensions]] | [[Category:Lianja VFP Extensions]] | ||
[[Category:VFP Function Extensions]] | [[Category:VFP Function Extensions]] |
Latest revision as of 08:09, 4 February 2013
Contents
Purpose
Function to convert numeric to binary encoded character string
Syntax
I2BIN(<expN>)
See Also
BIN2I(), BIN2L(), BIN2W(), BINCLOSE(), BINCREATE(), BINOPEN(), BINREAD(), BINSEEK(), BINWRITE(), L2BIN()
Description
The I2BIN() function converts a numeric value into a binary encoded character string formatted as an unsigned 16-bit integer. The <expN> is any numeric value. Any decimal places are ignored.
With the exception of the BIN2W(), all binary conversion functions may be used in conjunction with the binary file access functions.
Example
? bin2i(i2bin(987)) 987