Replace your "number to decimal string" with "number to fractional string" and then you can specify the digits of precision you want.
Replace your "number to decimal string" with "number to fractional string" and then you can specify the digits of precision you want.