need to understand how this code works

I found this code online and want to use it but I want to understand how it works. I am not sure what this operator means "/=" ?
how is this code converting int to bcd ?

while (uiValue > 0) {
uiResult <<= 4;
uiResult |= uiValue % 10;
uiValue /= 10;
}
closed account (48T7M4Gy)
uiValue /= 10;

is the same as
uiValue = uiValue / 10;
Topic archived. No new replies allowed.