Article View: comp.sys.mac.oop.macapp3
Article #252Re: Draw (double)????
From: Hanson, Kenton
Date: Sat, 09 Jan 1993 01:49
Date: Sat, 09 Jan 1993 01:49
18 lines
863 bytes
863 bytes
Bill,
Regarding the formatting of double in MacApp, look at subroutine
pascal void TCell::ValueToString()
in file "MacApp:Examples:CPlusExamples:Calc:UCalcCells.cp"
also look at the SANE.h file for the interface to
num2dec(theFormat, aValueType, aDecimal);
dec2str(theFormat, aDecimal, aCString);
Further explanations of these routines can be found in the Apple Sane Manual
2nd edition
Hope this helps,
Kenton Hanson
Apple Numerics Group
Technical Details
Message-ID:
<726547022.9457814@AppleLink.Apple.COM>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!olivea!apple!applelink.apple.comShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!olivea!apple!applelink.apple.com From: KENTON@AppleLink.Apple.COM (Hanson, Kenton) Newsgroups: comp.sys.mac.oop.macapp3 Subject: Re: Draw (double)???? Message-ID: <726547022.9457814@AppleLink.Apple.COM> Date: 9 Jan 93 01:49:00 GMT Sender: daemon@Apple.COM Organization: AppleLink Gateway Lines: 18