GetDisplayVal

Description

This function takes a series or periodic slot and a date and returns the value of the slot at the given date, in units based on the display scale and units for that slot.

Type

NUMERIC

Arguments

Type

Meaning

1

SLOT

the series or periodic slot whose value is to be returned

2

DATETIME

the datetime of the value to be returned

Evaluation

 

Comments

The function returns and error and aborts the run if the input slot is not a series or periodic slot, if the date is not fully specified, or if the date is not contained in the series.

 
GetDisplayVal(MyReservoir.Outflow, @"24:00 February 23, 1996")
 
3.03012926 "1000 * cfs"