Stephen, I already replied on atari.st (fuji bbs) in my usual rounds, but I just thought of something else....
perhaps lattice C wants you to specify the precision? I know it's clutching at straws... even very old C variants will take %f to mean all the precision available, but maybe you have to tell it %.2f?