Have you tried the Code Generator http://www.piclist.com/techref/piclist/codegen/constdivmul.htm or here http://www.piclist.com/techref/method/math/divconst.htm there's a conditional /10 example -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics