MAKEDEC/de

(Difference between revisions)
Jump to: navigation, search
(= Funktion)
(Remarks)
Line 23: Line 23:
  
 
| valign="top" width="100%" style="width: 526px; border: 1px solid rgb(0, 0, 0);" |  
 
| valign="top" width="100%" style="width: 526px; border: 1px solid rgb(0, 0, 0);" |  
Variable that will be assigned with the converted value.
+
Variable die den Dezimalwert erhält.
  
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
Line 30: Line 30:
  
 
| valign="top" width="100%" style="width: 526px; border: 1px solid rgb(0, 0, 0);" |  
 
| valign="top" width="100%" style="width: 526px; border: 1px solid rgb(0, 0, 0);" |  
Variable that holds the BCD value.
+
Variable die den BCD-Wert liefert.
  
 
|}
 
|}

Revision as of 13:40, 22 February 2013

Contents

Funktion

Konvertiert ein BCD-kodierte Variable (Byte/Integer/Word) in eine Dezimalzahl.

 

 

Syntax

var1 = MAKEDEC(var2)

 

 

Remarks

var1

Variable die den Dezimalwert erhält.

var2

Variable die den BCD-Wert liefert.

 

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

MAKEBCD , MAKEINT

 

 

Example


Dim A As Byte
A = 65
Print A
Print Bcd(a)
A = Makedec(a)
Print Spc(3) ; A
End

Languages   English Deutsch  
Personal tools
Namespaces
Variants
Actions
Navigation
In other languages
Language