im writing a program right now (actually in basic but i will translate it to assembler) and i want to first check if a number is rational (can be turned into a fraction) and then be able to turn it into a fraction. Any help would be appreciated whether code snips or just how to do it. Thanks Keith Batten