MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / tool_DecimalToBinaryCodedDecimal

Function tool_DecimalToBinaryCodedDecimal

Source/stdafx.cpp:74–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74uint16 tool_DecimalToBinaryCodedDecimal(uint16 pDecimal) {
75
76 return ((pDecimal / 10) << 4) + (pDecimal % 10);
77}

Callers 1

cPseudorandMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected