Title: Get last digit of integer numberUse GetLastDigit function.function GetLastDigit(Num: Integer): string;begin Result:=FloatToStr(Num mod 10);end;