
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TSDWIN: Clipper 5.0 Interface Library - Norton Guide
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
twSci2Dec( cScientific )
----------------------------------------------------------------------------
The functions twDec2Sci(), twSci2Dec(), twStr2Num() and
twNum2Str() attempt to provide a temporary solution to Clipper's
inability to display floating point numbers.
NOTE: Numbers outside the MSC calculation range will result in a
MSC error which cannot be trapped with ERRORSYS.
Arguments:
cScientific - 'C' A number string formatted as:
Mantissa E exponent,
such as a string returned from twDec2Sci()
Return:
Numeric value. If out of range of MSC math, this function will bow
out ungracefully to DOS. Your program must check for the correct
range.
Example:
twSci2Dec( "3.4567E3" ) -> 3456.73
See Also: twDec2Sci() twDec2Sci() twStr2Num()
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson