Lars M Bishop, National Center for Computational Electronics University of Illinois at Urbana-Champaign
The Real to Integer module simply takes in a real- valued input port, and passes its truncation to the output port as an integer. This module is part of the the Real Math module group, which is a single file, process-sharing set of modules that allow basic operations on and between integer and real AVS data types. They have been most useful in dealing with linkage of several AVS parameters. AVS has no simple way of performing math operations on reals, even though it does allow math operations on fields.
Conversion operators other than truncation should be added as options