Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!usc!apple!vsi1!octopus!sjsumcs!33014-18 From: 33014-18@sjsumcs.sjsu.edu (Eduardo Horvath) Newsgroups: comp.sys.amiga.tech Subject: FFP -> ASCII Summary: How do you convert FFP to ASCII Message-ID: <1989Nov14.193153.8640@sjsumcs.sjsu.edu> Date: 14 Nov 89 19:31:53 GMT Reply-To: 33014-18@sjsumcs.SJSU.EDU (Eduardo Horvath) Distribution: comp.amiga.tech Organization: San Jose State University Lines: 18 Does anyone have code that converts an FFP number to an ASCII string like sprintf(buf,"%f",var); without requiring a 71 byte buffer to expand the number in? I want to do this without including all of the Lattice libraries and Amiga.lib. I will be implementing this in assembly (although I will accept C code) and don't need any excess fluff. I have found that lc.lib does not support "%f" conversion, lcffp.lib requires lc.lib and amiga.lib, and fpa in amiga.lib always returns E notation. =============================================================================== //x = /// \ Try: 33014-18@sjsumcs.SJSU.EDU = Early to bet /// \ = And early to raise /// \ Eduardo Horvath = Makes a man poor \\\ ///=======\ = In a gambling craze! \\\/// \ = -me \xxx \miga. The computer for the corruptive mind. ===============================================================================