Cambiar Contraseña Control Parental Nintendo Switch

I tried this blackjack calculator and found it interesting. How does the calculator find the integer HiLo true count number from its decimal number? By truncating or rounding? It seems like that the decimals are rounded.