Oct 12, 2006 #1 S shrink [H]ard|Gawd Joined Jul 28, 2000 Messages 1,238 does anyone know how to decompose a number into powers? e.g. 123.4 = 1 * 100 + 2*10 + 3*1 + 4*10^-1 using mod? im stuck here and would really appreciate some guidance
does anyone know how to decompose a number into powers? e.g. 123.4 = 1 * 100 + 2*10 + 3*1 + 4*10^-1 using mod? im stuck here and would really appreciate some guidance
Oct 12, 2006 #2 E Empyrean Limp Gawd Joined May 27, 2005 Messages 327 I had that problem in my first computer science class too. Try looking in the textbook.