The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information.... |
Home MathPack Math1 Comparison & Limiting IsValidDouble | |||||||||||||||
See also: ScanFPNum, IsValidFPNum | |||||||||||||||
IsValidDouble |
|||||||||||||||
The function IsValidDouble checks whether the string Instring contains a valid floating point number. Valid characters are the digits '0'...'9', 'E', '.', ',', leading '-' and '+' signs, and leading blanks. If the parameter AllowExp is set TRUE the scanned number may be optionally represented in exponential notation. The DecSeparator parameter controls which character is used as a decimal separator. It may take one of the following values:
|