Note that care must be used when generating and formating computer answers. You must assure that the specified answer format provides for enough significant digits. To test the formatted answer, LON-CAPA converts the computer answer, as generated in the script block, according to the format attribute in the numericalresponse tag. Then LON-CAPA separately applies that number of significant figures to the computer answer, and if that result falls outside the range specified in the significant digit parameter, it "grades" the computer answer as SIG_FAIL (i.e., not correct). This helps assure that you have enough significant digits in the formatted answers you display to the students. It is a good idea to use the problem testing environment to test plenty of different randomizations to make sure that your format and sig digits parameters are compatible.