PrintFloat

From NWN Lexicon
Jump to: navigation, search



PrintFloat(float, int, int)

Records a floating point number to the log file.

void PrintFloat(
    float fFloat,
    int nWidth = 18,
    int nDecimals = 9
);

Parameters

fFloat

The floating point number to output.

nWidth

The total number of characters to use. (Default: 18)

nDecimals

The number of characters to use for the decimal part of the number. (Default: 9)


Description

Outputs a formatted floating point number (fFloat) to the log file.



Version

1.22

See Also

functions: 

PrintVector



 author: Tom Cassiotis, editor: Charles Feduke