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....



AsNumber


Unit:SDL_replist
Class: TReportListView
Declaration: property AsNumber [ACol, ARow: longint] : double;

The readonly property AsNumber returns the string of cell [ACol , ARow ] as a floating point number.

If the string is not a valid decimal number, an ESDLDStructError exception is created: 'TStringArray: Invalid numeric string: [ACol, ARow]: offending string'.

Example: This property is used in the following example program (see http://www.lohninger.com/examples.html for downloading the code): geodata



Last Update: 2012-Oct-20