Solved
get a digit from a number without divide
Posted on 2006-10-30
Hello. I need a function that gets the digit from a number with only using *,^,+,- and the mod operator.
This function works, but it contains divide.
placement = to get the number from the end of the number to the right of the number
mod(floor(number/10^(placement-1)), 10)