float xxx = ((int)xx) % 10;