Bill Zielenbach wrote: > I had the gFBFloatMaxDigits in my code all along but it has not been > working as expected in FB 5 and above. > > Try this modification of your example: > > print pi > print str$(pi) > gFBFloatMaxDigits = 16 > print pi > print str$(pi) > stop Thanks for the bug report. For historical reasons, str$() and print use completely different code to format a number, whereas they should both do the the same thing. I added this to our bugs database. 499 Open Error str$( fpNum ) and 'print fpNum' give different results PSstr() should convert with FBFloat2String() Robert P.