DWORD_TO_BCD (FUN)

 

FUNCTION DWORD_TO_BCD : DWORD

Converts one DWORD in binary code into one DWORD in BCD code

Use BCD_TO_DWORD for the reverse conversion.

InOut:

Scope

Name

Type

Comment

Return

DWORD_TO_BCD

DWORD

Value in BCD code for the input X

Input

X

DWORD

Value in binary code. Valid range: 0..99999999