AsNumber

<< Click to Display Table of Contents >>

Navigation:  Field Object >

AsNumber

Previous pageReturn to chapter overviewNext page

Sets / returns the value of a Field as number (double).

property double TVPEField.AsNumber

read / write; runtime only

Remarks:

In case of an error, an exception is thrown (for example out of memory or the field contained pure text that could not be converted to an number value).

 

The Template Object itself offers simple methods to access a Field's value directly, i.e. without retrieving a Field Object first. See GetFieldAsNumber and SetFieldAsNumber.

 

See also:

"dycodoc Template Processing" in the Programmer's Manual