f_n(x)= [10{x/(10^n)}]

in case you get x/10 then raised to the power n.

Not sure if that's really needed.

Bob

]]>If you just want to peel digits off use this function

where n is the number and p is the position.

]]>Not that I know of. Others may know.

The INT approach could be written as a formula but it wouldn't be simple.

Bob

]]>If you can describe what a function does then it exists. I understand what your function does so you have answered your own question.

But I expect you mean can I press a button and get that result. That depends on where the button is.

I don't think any calculators do this but you can certainly do it using MS Excel. You'd have to convert the integer to a string, use MID$ to extract the digit you wanted and then convert the string back to a number.

Or you could divide by the power of ten that makes your digit in the tenths place.

Use <number> - INT<number> to remove the whole numbered part.

Times by ten and use INT to remove the decimal part and you are left with the required digit.

If you are trying to do this as part of a computer program, then you'd better say what language you are using.

Bob

]]>