26.12.2012 Views

ICAM Virtual Machine V19 - Kxcad.net

ICAM Virtual Machine V19 - Kxcad.net

ICAM Virtual Machine V19 - Kxcad.net

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.4.5.3 Numerical Functions<br />

$FABS Absolute value<br />

$FFRAC Fractional portion<br />

$FINT Truncation to whole number<br />

$FMAX Largest value<br />

$FMIN Smallest value<br />

$FMOD Remainder<br />

$FNINT Nearest whole number<br />

$FSIGN Sign<br />

<strong>Virtual</strong> <strong>Machine</strong> Reference, Model Customization<br />

Simulation Macro Functions, Numerical Functions<br />

All numeric functions return a numeric result and only accept numeric arguments.<br />

The $FABS Function<br />

result=$FABS(n)<br />

This function returns the absolute value of the argument n.<br />

The $FFRAC Function<br />

result=$FFRAC(n)<br />

This function returns the fractional portion of the argument n.<br />

The $FINT Function<br />

result=$FINT(n)<br />

This function returns the integer portion (whole number) of the argument n.<br />

The $FMAX Function<br />

result=$FMAX(n1[,n2[,…]])<br />

This function returns the argument having the largest value from the list of numeric arguments<br />

specified. At least two arguments should be specified.<br />

The $FMIN Function<br />

result=$FMIN(n1[,n2[,…]])<br />

This function returns the argument having the smallest value from the list of numeric arguments<br />

specified. At least two arguments should be specified.<br />

<strong>ICAM</strong> Technologies Corporation – Proprietary 155

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!