Hey there, i'm curious on how to display the first and rightmost digit of the integral portion of a floating point integer. I'm not quite sure how to do this.

whould I create a two variables like so:

float floatintPointInt;
float result;

....

result = floatingPointInt % floatingPointInt / 10;

....

Thanks