*realprecision()

Sets the number of significant figures after the decimal point for real numbers.

Syntax

*realprecision (digits)

Type

HyperMesh Template Command

Inputs

digits
The number of significant figures to be used for all real values after the command in the template file. A zero (default) uses all available spaces in the field width.

Example

This command results in values being rounded, according to IEEE specifications, to fit in the specified precision. Enabling the *compressreal() option truncates trailing zeros that are produced by this setting.