Powers

Hi, I need to basically compute powers of ten from the exponent, so like 10^n Arduino's pow() function returns floats, and when i round it to an int it doesnt work. Ex: int foo = pow(10,2) i get 99. is there another way of acheiving these powers, or should i just make a function with a for loop? thanks

Look up table

If the time taken does not matter just use a loop to multiply them out.

...R