MAKEDEC/de
(Difference between revisions)
m (1 revision) |
(→(**COPIED FROM ENGLISH PAGE**) =) |
||
Line 1: | Line 1: | ||
− | + | == <span class="f_Header">Funktion</span> = | |
− | + | Konvertiert ein BCD-kodierte Variable (Byte/Integer/Word) in eine Dezimalzahl. | |
<span style="font-family: Arial;"> </span> | <span style="font-family: Arial;"> </span> |
Revision as of 13:39, 22 February 2013
Contents |
= Funktion
Konvertiert ein BCD-kodierte Variable (Byte/Integer/Word) in eine Dezimalzahl.
Syntax
var1 = MAKEDEC(var2)
Remarks
var1 |
Variable that will be assigned with the converted value. |
var2 |
Variable that holds the BCD value. |
When you want to use an I2C clock device, which stores its values as BCD values you can use this function to convert variables from BCD to decimal.
See also
Example
Dim A As Byte A = 65 Print A Print Bcd(a) A = Makedec(a) Print Spc(3) ; A End
Languages | English • Deutsch |
---|